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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 80.84 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002154/0.002154, allocations: 160.1 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.568/1.568, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.016/3.016, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.906e-05, allocations: 2.281 kB / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.8198/0.8198, allocations: 145.7 MB / 1.142 GB, free: 45.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003207/0.823, allocations: 1.453 MB / 1.144 GB, free: 45.25 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004232/0.8234, allocations: 18.41 kB / 1.144 GB, free: 45.25 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005825/0.824, allocations: 148.4 kB / 1.144 GB, free: 45.25 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.8253, allocations: 479 kB / 1.144 GB, free: 45.23 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.8273, allocations: 0.7905 MB / 1.145 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0007827/0.8281, allocations: 0.6765 MB / 1.146 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003165/0.8284, allocations: 184.8 kB / 1.146 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.8295, allocations: 0.5438 MB / 1.147 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.8297, allocations: 194.1 kB / 1.147 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.8298, allocations: 25.66 kB / 1.147 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.8311, allocations: 0.75 MB / 1.148 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.8312, allocations: 117.2 kB / 1.148 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.8313, allocations: 112.5 kB / 1.148 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009935/0.8323, allocations: 0.7649 MB / 1.148 GB, free: 45.12 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.8323, allocations: 4.469 kB / 1.148 GB, free: 45.12 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8323, allocations: 1.094 kB / 1.148 GB, free: 45.12 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.8323, allocations: 0 / 1.148 GB, free: 45.12 MB / 1.076 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.001065/0.8334, allocations: 0.5993 MB / 1.149 GB, free: 44.71 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.8335, allocations: 14.56 kB / 1.149 GB, free: 44.71 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000489/0.8339, allocations: 79.05 kB / 1.149 GB, free: 44.7 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.8343, allocations: 248.1 kB / 1.149 GB, free: 44.54 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.8344, allocations: 25.03 kB / 1.149 GB, free: 44.54 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.8344, allocations: 25.42 kB / 1.149 GB, free: 44.54 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006651/0.8351, allocations: 359.5 kB / 1.15 GB, free: 44.45 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.8351, allocations: 0 / 1.15 GB, free: 44.45 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.8351, allocations: 11.06 kB / 1.15 GB, free: 44.45 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.8351, allocations: 6.656 kB / 1.15 GB, free: 44.45 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006847/0.8358, allocations: 284 kB / 1.15 GB, free: 44.44 MB / 1.076 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.001425/0.8372, allocations: 0.9203 MB / 1.151 GB, free: 44 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000855/0.8381, allocations: 239.2 kB / 1.151 GB, free: 43.98 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.8384, allocations: 135.2 kB / 1.151 GB, free: 43.96 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005404/0.839, allocations: 86.27 kB / 1.151 GB, free: 43.96 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.839, allocations: 37.94 kB / 1.151 GB, free: 43.93 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 3.226e-06/0.839, allocations: 3.703 kB / 1.151 GB, free: 43.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.001193/0.8402, allocations: 403.7 kB / 1.152 GB, free: 43.88 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.8402, allocations: 54.53 kB / 1.152 GB, free: 43.82 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.8404, allocations: 218.2 kB / 1.152 GB, free: 43.71 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.8404, allocations: 35.58 kB / 1.152 GB, free: 43.68 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/0.8405, allocations: 169 kB / 1.152 GB, free: 43.56 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.8405, allocations: 69.94 kB / 1.152 GB, free: 43.52 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.992e-05/0.8406, allocations: 47.7 kB / 1.152 GB, free: 43.5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.8407, allocations: 336.5 kB / 1.153 GB, free: 43.19 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.841, allocations: 102.3 kB / 1.153 GB, free: 43.19 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.8413, allocations: 242.9 kB / 1.153 GB, free: 43.04 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005908/0.8419, allocations: 266.5 kB / 1.153 GB, free: 42.99 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8419, allocations: 3 kB / 1.153 GB, free: 42.99 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000699/0.8426, allocations: 319.4 kB / 1.154 GB, free: 42.94 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.8426, allocations: 6.328 kB / 1.154 GB, free: 42.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.8426, allocations: 0.875 kB / 1.154 GB, free: 42.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.8426, allocations: 3.125 kB / 1.154 GB, free: 42.94 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.8429, allocations: 58.12 kB / 1.154 GB, free: 42.94 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.8429, allocations: 2.906 kB / 1.154 GB, free: 42.94 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.8431, allocations: 36.41 kB / 1.154 GB, free: 42.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.8432, allocations: 13.19 kB / 1.154 GB, free: 42.93 MB / 1.076 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.0001247/0.8433, allocations: 153.1 kB / 1.154 GB, free: 42.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.8433, allocations: 26.7 kB / 1.154 GB, free: 42.8 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000745/0.8441, allocations: 310.9 kB / 1.154 GB, free: 42.77 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.8441, allocations: 3.438 kB / 1.154 GB, free: 42.77 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8441, allocations: 4.047 kB / 1.154 GB, free: 42.77 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.8441, allocations: 0.9688 kB / 1.154 GB, free: 42.77 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.8454, allocations: 0.7124 MB / 1.155 GB, free: 42.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.8454, allocations: 3.625 kB / 1.155 GB, free: 42.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.8456, allocations: 48.12 kB / 1.155 GB, free: 42.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.8456, allocations: 4.719 kB / 1.155 GB, free: 42.48 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.8456, allocations: 2.719 kB / 1.155 GB, free: 42.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.8456, allocations: 8.141 kB / 1.155 GB, free: 42.48 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8457, allocations: 3.688 kB / 1.155 GB, free: 42.48 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.8467, allocations: 0.5557 MB / 1.156 GB, free: 42.29 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.455e-05/0.8467, allocations: 44.31 kB / 1.156 GB, free: 42.27 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.8468, allocations: 10.72 kB / 1.156 GB, free: 42.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.847, allocations: 19.61 kB / 1.156 GB, free: 42.27 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.8471, allocations: 24.97 kB / 1.156 GB, free: 42.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.8471, allocations: 11.41 kB / 1.156 GB, free: 42.27 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001004/0.8472, allocations: 159.3 kB / 1.156 GB, free: 42.19 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8472, allocations: 0 / 1.156 GB, free: 42.19 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000463/0.8477, allocations: 123.3 kB / 1.156 GB, free: 42.16 MB / 1.076 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.0003553/0.848, allocations: 193.1 kB / 1.156 GB, free: 42.06 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007091/0.8487, allocations: 241.7 kB / 1.156 GB, free: 42.06 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8487, allocations: 3.906 kB / 1.156 GB, free: 42.06 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.8491, allocations: 133.1 kB / 1.156 GB, free: 42.06 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006323/0.8497, allocations: 82.19 kB / 1.157 GB, free: 42.06 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/0.8507, allocations: 0.5591 MB / 1.157 GB, free: 41.77 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.8508, allocations: 167.4 kB / 1.157 GB, free: 41.69 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001813/0.851, allocations: 58.69 kB / 1.157 GB, free: 41.69 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/0.8511, allocations: 30.61 kB / 1.157 GB, free: 41.68 MB / 1.076 GB Notification: Performance of SimCode: time 5.21e-07/0.8511, allocations: 0.9688 kB / 1.157 GB, free: 41.68 MB / 1.076 GB Notification: Performance of Templates: time 0.009554/0.8606, allocations: 5.128 MB / 1.162 GB, free: 41.37 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.512859992682934]