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.000835/0.000835, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009219/0.0009219, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.709/2.709, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003284, allocations: 9.188 kB / 0.9021 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2753, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1577/0.4331, allocations: 150.1 MB / 1.205 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002606/0.4357, allocations: 1.482 MB / 1.206 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002496/0.436, allocations: 7.938 kB / 1.206 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004215/0.4365, allocations: 99.28 kB / 1.206 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0009671/0.4374, allocations: 354.3 kB / 1.206 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.4391, allocations: 0.5674 MB / 1.207 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008794/0.4399, allocations: 0.8306 MB / 1.208 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003403/0.4403, allocations: 196.4 kB / 1.208 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005033/0.4408, allocations: 278.9 kB / 1.208 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.4411, allocations: 215.1 kB / 1.209 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.4412, allocations: 16 kB / 1.209 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.4423, allocations: 0.5339 MB / 1.209 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.4425, allocations: 103.7 kB / 1.209 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.657e-05/0.4426, allocations: 81.58 kB / 1.209 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006101/0.4432, allocations: 470.9 kB / 1.21 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.4432, allocations: 0 / 1.21 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4432, allocations: 4 kB / 1.21 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.4432, allocations: 0 / 1.21 GB, free: 9.598 MB / 0.9669 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.001047/0.4443, allocations: 0.6352 MB / 1.21 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.4443, allocations: 8.031 kB / 1.21 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004824/0.4448, allocations: 79.56 kB / 1.21 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.4452, allocations: 298 kB / 1.211 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.4452, allocations: 20.56 kB / 1.211 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.4453, allocations: 28 kB / 1.211 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006586/0.446, allocations: 348.1 kB / 1.211 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.446, allocations: 0 / 1.211 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.446, allocations: 12 kB / 1.211 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.446, allocations: 4 kB / 1.211 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007282/0.4468, allocations: 313.5 kB / 1.211 GB, free: 7.777 MB / 0.9669 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.001736/0.4485, allocations: 1.087 MB / 1.212 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000916/0.4494, allocations: 337.2 kB / 1.213 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.4498, allocations: 152.8 kB / 1.213 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000705/0.4505, allocations: 408.3 kB / 1.213 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.4506, allocations: 38.56 kB / 1.213 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=19): time 1.863e-06/0.4506, allocations: 0 / 1.213 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.001283/0.4519, allocations: 458.4 kB / 1.214 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.4519, allocations: 55.34 kB / 1.214 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.4523, allocations: 267 kB / 1.214 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.4523, allocations: 29.7 kB / 1.214 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.4524, allocations: 164.2 kB / 1.214 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.633e-05/0.4525, allocations: 70.98 kB / 1.214 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.538e-05/0.4525, allocations: 4 kB / 1.214 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4527, allocations: 342.8 kB / 1.215 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003271/0.453, allocations: 119.9 kB / 1.215 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.4534, allocations: 177.8 kB / 1.215 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.4537, allocations: 135.9 kB / 1.215 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4537, allocations: 0 / 1.215 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007542/0.4545, allocations: 342.4 kB / 1.215 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.4545, allocations: 4.156 kB / 1.215 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.4546, allocations: 8 kB / 1.215 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.4546, allocations: 4 kB / 1.215 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.4549, allocations: 67.89 kB / 1.215 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.4549, allocations: 0 / 1.215 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.4552, allocations: 63.64 kB / 1.216 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.4552, allocations: 8 kB / 1.216 GB, free: 3.254 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.4554, allocations: 153.7 kB / 1.216 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.4554, allocations: 27.72 kB / 1.216 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007963/0.4562, allocations: 344.7 kB / 1.216 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.4562, allocations: 4 kB / 1.216 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4563, allocations: 0 / 1.216 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4563, allocations: 0 / 1.216 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.4578, allocations: 0.9682 MB / 1.217 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4578, allocations: 0 / 1.217 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.4581, allocations: 59.89 kB / 1.217 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.4581, allocations: 4 kB / 1.217 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.4581, allocations: 4 kB / 1.217 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.4582, allocations: 4 kB / 1.217 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/0.4582, allocations: 12 kB / 1.217 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.4593, allocations: 0.6109 MB / 1.218 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.4594, allocations: 120.7 kB / 1.218 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.4595, allocations: 7.984 kB / 1.218 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.4597, allocations: 35.97 kB / 1.218 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.4598, allocations: 27.98 kB / 1.218 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.4599, allocations: 11.98 kB / 1.218 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001832/0.46, allocations: 193.9 kB / 1.218 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3e-07/0.46, allocations: 0 / 1.218 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004672/0.4605, allocations: 103.8 kB / 1.218 GB, free: 416 kB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004725/0.461, allocations: 196.2 kB / 1.218 GB, free: 216 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007562/0.4618, allocations: 285.6 kB / 1.219 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4618, allocations: 0 / 1.219 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.4622, allocations: 157.6 kB / 1.219 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007771/0.4629, allocations: 128.5 kB / 1.219 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.4641, allocations: 0.7187 MB / 1.22 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.4645, allocations: 0.7797 MB / 1.22 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002713/0.4648, allocations: 66.23 kB / 1.22 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.465e-05/0.4649, allocations: 31.42 kB / 1.22 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.4649, allocations: 3.938 kB / 1.22 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of Templates: time 0.01065/0.4755, allocations: 5.398 MB / 1.226 GB, free: 8.664 MB / 0.9825 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