Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009785/0.0009785, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008495/0.008495, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.672/2.672, allocations: 443.3 MB / 0.7175 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.000332, allocations: 12.89 kB / 0.8796 GB, free: 41.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3549, allocations: 155.2 MB / 1.031 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1852/0.5401, allocations: 160.9 MB / 1.188 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002639/0.5428, allocations: 1.54 MB / 1.19 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.543, allocations: 7.938 kB / 1.19 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003849/0.5434, allocations: 119.3 kB / 1.19 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.5444, allocations: 438.2 kB / 1.19 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.5461, allocations: 0.689 MB / 1.191 GB, free: 68 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009484/0.5471, allocations: 0.9866 MB / 1.192 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003468/0.5475, allocations: 218.2 kB / 1.192 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004824/0.548, allocations: 286.8 kB / 1.192 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.5482, allocations: 227 kB / 1.193 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.5483, allocations: 12 kB / 1.193 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.5498, allocations: 0.9742 MB / 1.194 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.5499, allocations: 111.7 kB / 1.194 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.5501, allocations: 165 kB / 1.194 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009398/0.551, allocations: 0.7712 MB / 1.195 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.551, allocations: 3.938 kB / 1.195 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.553e-06/0.551, allocations: 4 kB / 1.195 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.5511, allocations: 0 / 1.195 GB, free: 12.31 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001017/0.5521, allocations: 0.6313 MB / 1.195 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.5521, allocations: 12.03 kB / 1.195 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004914/0.5526, allocations: 83.48 kB / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.553, allocations: 298 kB / 1.196 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.553, allocations: 20.5 kB / 1.196 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.5531, allocations: 28 kB / 1.196 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006681/0.5538, allocations: 344.2 kB / 1.196 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.5538, allocations: 0 / 1.196 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.5538, allocations: 12 kB / 1.196 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.5538, allocations: 7.938 kB / 1.196 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007701/0.5546, allocations: 317.5 kB / 1.196 GB, free: 10.48 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.5562, allocations: 1.079 MB / 1.197 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009225/0.5571, allocations: 343.6 kB / 1.198 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.5575, allocations: 148.8 kB / 1.198 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006717/0.5582, allocations: 412.3 kB / 1.198 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.5582, allocations: 34.56 kB / 1.198 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 1.713e-06/0.5582, allocations: 0 / 1.198 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.001268/0.5595, allocations: 454.5 kB / 1.199 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.5595, allocations: 59.41 kB / 1.199 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.5598, allocations: 266.9 kB / 1.199 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.5598, allocations: 33.7 kB / 1.199 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.5599, allocations: 172.1 kB / 1.199 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.56, allocations: 67.05 kB / 1.199 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.5601, allocations: 21.7 kB / 1.199 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.5602, allocations: 338.8 kB / 1.2 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.5605, allocations: 119.9 kB / 1.2 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.5609, allocations: 178.5 kB / 1.2 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006749/0.5616, allocations: 310.5 kB / 1.2 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5616, allocations: 0 / 1.2 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007925/0.5624, allocations: 346.8 kB / 1.201 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.5624, allocations: 9.5 kB / 1.201 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.5624, allocations: 4 kB / 1.201 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.5625, allocations: 3.938 kB / 1.201 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.5627, allocations: 72.14 kB / 1.201 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.5628, allocations: 4 kB / 1.201 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.563, allocations: 51.92 kB / 1.201 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.5631, allocations: 7.938 kB / 1.201 GB, free: 5.742 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.5632, allocations: 159.3 kB / 1.201 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.5633, allocations: 27.62 kB / 1.201 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008618/0.5642, allocations: 352.8 kB / 1.201 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.5642, allocations: 7.938 kB / 1.201 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.5642, allocations: 0 / 1.201 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5642, allocations: 0 / 1.201 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.5658, allocations: 0.9603 MB / 1.202 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5658, allocations: 0 / 1.202 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.5661, allocations: 60.16 kB / 1.202 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.5661, allocations: 4.047 kB / 1.202 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.5662, allocations: 11.97 kB / 1.202 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.5662, allocations: 3.938 kB / 1.202 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5662, allocations: 4 kB / 1.202 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.5673, allocations: 0.6073 MB / 1.203 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.5675, allocations: 128.7 kB / 1.203 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.5675, allocations: 4 kB / 1.203 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.5678, allocations: 36.03 kB / 1.203 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.5679, allocations: 27.84 kB / 1.203 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.5679, allocations: 8 kB / 1.203 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001725/0.5681, allocations: 198 kB / 1.203 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5681, allocations: 0 / 1.203 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004944/0.5686, allocations: 111.8 kB / 1.203 GB, free: 2.883 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004528/0.569, allocations: 194.1 kB / 1.203 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000782/0.5698, allocations: 291.9 kB / 1.204 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5699, allocations: 0 / 1.204 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.5702, allocations: 152.3 kB / 1.204 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008479/0.5711, allocations: 127.8 kB / 1.204 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.5722, allocations: 0.7384 MB / 1.205 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.5727, allocations: 0.7835 MB / 1.205 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000254/0.573, allocations: 66.23 kB / 1.206 GB, free: 492 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.172e-05/0.5731, allocations: 27.44 kB / 1.206 GB, free: 464 kB / 0.9512 GB Notification: Performance of SimCode: time 4.3e-07/0.5731, allocations: 0 / 1.206 GB, free: 464 kB / 0.9512 GB Notification: Performance of Templates: time 0.01602/0.5891, allocations: 5.565 MB / 1.211 GB, free: 10.96 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches