Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001411/0.001411, allocations: 177.3 kB / 15.94 MB, free: 228 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.319/1.319, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.515/2.515, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.000351, allocations: 12 kB / 0.8707 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5761/0.5765, allocations: 153.7 MB / 1.021 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1593/0.7358, allocations: 149.6 MB / 1.167 GB, free: 11.35 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007978/0.7438, allocations: 6.542 MB / 1.173 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004812/0.7443, allocations: 19.88 kB / 1.173 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007637/0.7451, allocations: 254.8 kB / 1.174 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002284/0.7474, allocations: 0.814 MB / 1.174 GB, free: 3.707 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.7492, allocations: 0.5862 MB / 1.175 GB, free: 3.125 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.7503, allocations: 0.6169 MB / 1.175 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005982/0.7509, allocations: 332.1 kB / 1.176 GB, free: 2.18 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.7526, allocations: 0.6973 MB / 1.176 GB, free: 1.48 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005642/0.7532, allocations: 314.9 kB / 1.177 GB, free: 1.172 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.578e-05/0.7533, allocations: 27.94 kB / 1.177 GB, free: 1.145 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009975/0.7543, allocations: 447.2 kB / 1.177 GB, free: 0.707 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.7544, allocations: 135.7 kB / 1.177 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.7545, allocations: 113.5 kB / 1.177 GB, free: 468 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006276/0.7552, allocations: 0.5143 MB / 1.178 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.7552, allocations: 0 / 1.178 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.196e-06/0.7552, allocations: 3.984 kB / 1.178 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.7552, allocations: 0 / 1.178 GB, free: 15.94 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001045/0.7563, allocations: 0.7093 MB / 1.179 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.7563, allocations: 12.03 kB / 1.179 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009664/0.7573, allocations: 151.3 kB / 1.179 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005326/0.7578, allocations: 367.7 kB / 1.179 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.7579, allocations: 29 kB / 1.179 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.995e-05/0.7579, allocations: 39.95 kB / 1.179 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006909/0.7586, allocations: 450.4 kB / 1.18 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.7586, allocations: 4 kB / 1.18 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.7587, allocations: 12 kB / 1.18 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.7587, allocations: 12 kB / 1.18 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005975/0.7593, allocations: 323.8 kB / 1.18 GB, free: 13.74 MB / 0.9356 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.002154/0.7615, allocations: 2.019 MB / 1.182 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.7619, allocations: 247.7 kB / 1.182 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004412/0.7623, allocations: 141 kB / 1.182 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.7624, allocations: 38.56 kB / 1.182 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=24): time 1.613e-06/0.7624, allocations: 0 / 1.182 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24): time 0.001119/0.7635, allocations: 466.2 kB / 1.183 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.7636, allocations: 59.34 kB / 1.183 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.7641, allocations: 394 kB / 1.183 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.7641, allocations: 33.7 kB / 1.183 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.7643, allocations: 232.2 kB / 1.184 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.776e-05/0.7644, allocations: 78.83 kB / 1.184 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.7644, allocations: 4 kB / 1.184 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.7646, allocations: 354.8 kB / 1.184 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.7648, allocations: 111.9 kB / 1.184 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.7651, allocations: 186.8 kB / 1.184 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.7654, allocations: 137.6 kB / 1.184 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7654, allocations: 3.938 kB / 1.184 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006329/0.7661, allocations: 377.3 kB / 1.185 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.7661, allocations: 4 kB / 1.185 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.7661, allocations: 4 kB / 1.185 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.7661, allocations: 4 kB / 1.185 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.7664, allocations: 63.84 kB / 1.185 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.7664, allocations: 3.984 kB / 1.185 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.7667, allocations: 51.86 kB / 1.185 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.7668, allocations: 15.98 kB / 1.185 GB, free: 8.484 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 31 * 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.0001813/0.767, allocations: 165.7 kB / 1.185 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.767, allocations: 43.48 kB / 1.185 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007016/0.7677, allocations: 386.5 kB / 1.185 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.7678, allocations: 4 kB / 1.185 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7678, allocations: 0 / 1.185 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.7678, allocations: 0 / 1.185 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.7692, allocations: 0.9448 MB / 1.186 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.7693, allocations: 4 kB / 1.186 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.7695, allocations: 51.91 kB / 1.186 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.7695, allocations: 7.938 kB / 1.186 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.7696, allocations: 4 kB / 1.186 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.7696, allocations: 4 kB / 1.186 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7696, allocations: 3.938 kB / 1.186 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.7706, allocations: 0.739 MB / 1.187 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.7708, allocations: 148.5 kB / 1.187 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.7709, allocations: 8 kB / 1.187 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.7711, allocations: 24.05 kB / 1.187 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.7712, allocations: 35.77 kB / 1.187 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.7712, allocations: 8 kB / 1.187 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002599/0.7715, allocations: 279.1 kB / 1.188 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7715, allocations: 0 / 1.188 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004551/0.7719, allocations: 107.8 kB / 1.188 GB, free: 5.359 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (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 Backend phase and start with SimCode phase: time 0.0004354/0.7724, allocations: 178 kB / 1.188 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005763/0.773, allocations: 292.1 kB / 1.188 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.773, allocations: 0 / 1.188 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.7733, allocations: 151.8 kB / 1.188 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009998/0.7743, allocations: 213.7 kB / 1.189 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.7756, allocations: 0.9397 MB / 1.189 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.7759, allocations: 0.8392 MB / 1.19 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003222/0.7763, allocations: 103.4 kB / 1.19 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.811e-05/0.7764, allocations: 35.38 kB / 1.19 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.7764, allocations: 0 / 1.19 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of Templates: time 0.01218/0.7886, allocations: 6.986 MB / 1.197 GB, free: 11.68 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches