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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.364/2.364, allocations: 390.5 MB / 398 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 179.5 kB / 491.2 MB, free: 1.559 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.682/1.682, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 105.2 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.514e-05/2.517e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4658, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.843/6.308, allocations: 1.913 GB / 3.125 GB, free: 348.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/6.309, allocations: 91.22 kB / 3.125 GB, free: 348.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.5/7.809, allocations: 437.4 MB / 3.553 GB, free: 307 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.683e-06/7.809, allocations: 0 / 3.553 GB, free: 307 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.537e-05/7.809, allocations: 17.59 kB / 3.553 GB, free: 307 MB / 1.151 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.001521/7.811, allocations: 0.8449 MB / 3.553 GB, free: 306.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/7.811, allocations: 10.62 kB / 3.553 GB, free: 306.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009403/7.812, allocations: 147 kB / 3.554 GB, free: 306.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/7.813, allocations: 0.6826 MB / 3.554 GB, free: 306.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/7.813, allocations: 14.41 kB / 3.554 GB, free: 306.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.692e-05/7.813, allocations: 20.47 kB / 3.554 GB, free: 306.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003957/7.813, allocations: 248.9 kB / 3.554 GB, free: 306.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/7.814, allocations: 365.4 kB / 3.555 GB, free: 306.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/7.814, allocations: 2.906 kB / 3.555 GB, free: 306.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/7.814, allocations: 7.391 kB / 3.555 GB, free: 306.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/7.814, allocations: 7.469 kB / 3.555 GB, free: 306.2 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.001569/7.816, allocations: 1.889 MB / 3.557 GB, free: 304.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/7.816, allocations: 198.6 kB / 3.557 GB, free: 304.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/7.816, allocations: 115.2 kB / 3.557 GB, free: 304.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004504/7.816, allocations: 300.3 kB / 3.557 GB, free: 304.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/7.816, allocations: 40.72 kB / 3.557 GB, free: 304.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/7.816, allocations: 0 / 3.557 GB, free: 304.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=24): time 0.0009121/7.817, allocations: 373.1 kB / 3.558 GB, free: 304.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/7.817, allocations: 55.03 kB / 3.558 GB, free: 304.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/7.818, allocations: 233 kB / 3.558 GB, free: 304.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/7.818, allocations: 29.02 kB / 3.558 GB, free: 304.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/7.818, allocations: 245.2 kB / 3.558 GB, free: 304.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.218e-05/7.818, allocations: 79.25 kB / 3.558 GB, free: 304.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/7.818, allocations: 0 / 3.558 GB, free: 304.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/7.818, allocations: 339.4 kB / 3.559 GB, free: 303.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/7.818, allocations: 83.91 kB / 3.559 GB, free: 303.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/7.818, allocations: 179.9 kB / 3.559 GB, free: 303.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/7.819, allocations: 207 kB / 3.559 GB, free: 303.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/7.819, allocations: 0 / 3.559 GB, free: 303.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006804/7.82, allocations: 388 kB / 3.559 GB, free: 303.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/7.82, allocations: 7.625 kB / 3.559 GB, free: 303.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/7.82, allocations: 7.5 kB / 3.559 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/7.82, allocations: 0 / 3.559 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/7.82, allocations: 63.12 kB / 3.559 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/7.82, allocations: 8.797 kB / 3.559 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/7.82, allocations: 44.44 kB / 3.56 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/7.82, allocations: 13.81 kB / 3.56 GB, free: 303.6 MB / 1.151 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 () * 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 9.066e-05/7.82, allocations: 111 kB / 3.56 GB, free: 303.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/7.82, allocations: 30 kB / 3.56 GB, free: 303.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007341/7.821, allocations: 390.6 kB / 3.56 GB, free: 303.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/7.821, allocations: 10.39 kB / 3.56 GB, free: 303.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/7.821, allocations: 0 / 3.56 GB, free: 303.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/7.821, allocations: 3.953 kB / 3.56 GB, free: 303.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/7.822, allocations: 0.9055 MB / 3.561 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/7.822, allocations: 5.531 kB / 3.561 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/7.823, allocations: 46.58 kB / 3.561 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/7.823, allocations: 7.922 kB / 3.561 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/7.823, allocations: 7.609 kB / 3.561 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/7.823, allocations: 3.781 kB / 3.561 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/7.823, allocations: 3.625 kB / 3.561 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008504/7.824, allocations: 0.7101 MB / 3.562 GB, free: 302.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/7.824, allocations: 128.2 kB / 3.562 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/7.824, allocations: 13.61 kB / 3.562 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/7.824, allocations: 20.53 kB / 3.562 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/7.824, allocations: 20.55 kB / 3.562 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/7.824, allocations: 11.19 kB / 3.562 GB, free: 302.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001392/7.824, allocations: 180.8 kB / 3.562 GB, free: 302.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/7.824, allocations: 0 / 3.562 GB, free: 302.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007926/7.825, allocations: 220 kB / 3.562 GB, free: 302.6 MB / 1.151 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 () * 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.002028/7.827, allocations: 1.704 MB / 3.564 GB, free: 302.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003822/7.828, allocations: 238.1 kB / 3.564 GB, free: 302.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/7.828, allocations: 0 / 3.564 GB, free: 302.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/7.828, allocations: 120.2 kB / 3.564 GB, free: 302.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00064/7.828, allocations: 124.3 kB / 3.564 GB, free: 302.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009879/7.829, allocations: 0.5429 MB / 3.565 GB, free: 301.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/7.83, allocations: 0.839 MB / 3.566 GB, free: 301.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002554/7.83, allocations: 81.77 kB / 3.566 GB, free: 301.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.687e-05/7.83, allocations: 26.28 kB / 3.566 GB, free: 301.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.933e-06/7.83, allocations: 0 / 3.566 GB, free: 301.2 MB / 1.151 GB Notification: Performance of Templates: time 0.01979/7.85, allocations: 13.51 MB / 3.579 GB, free: 300.7 MB / 1.151 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