Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001201/0.001201, allocations: 184.2 kB / 498.1 MB, free: 5.676 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.574/1.574, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.0009553/0.0009554, allocations: 100.3 kB / 0.9346 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004716, allocations: 11.66 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3554, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.676/5.032, allocations: 1.913 GB / 3.136 GB, free: 50.73 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/5.032, allocations: 88.66 kB / 3.136 GB, free: 50.64 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.469/6.501, allocations: 442.9 MB / 3.568 GB, free: 59.91 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.274e-06/6.502, allocations: 3.938 kB / 3.568 GB, free: 59.91 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.687e-05/6.502, allocations: 15.98 kB / 3.568 GB, free: 59.89 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.002393/6.504, allocations: 0.9118 MB / 3.569 GB, free: 58.93 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/6.504, allocations: 8.031 kB / 3.569 GB, free: 58.93 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/6.505, allocations: 151.3 kB / 3.569 GB, free: 58.78 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/6.507, allocations: 0.6906 MB / 3.57 GB, free: 58.05 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/6.507, allocations: 29 kB / 3.57 GB, free: 58.02 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.875e-05/6.507, allocations: 39.95 kB / 3.57 GB, free: 57.98 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006689/6.508, allocations: 446.4 kB / 3.571 GB, free: 57.52 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/6.508, allocations: 0 / 3.571 GB, free: 57.52 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/6.508, allocations: 16 kB / 3.571 GB, free: 57.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/6.508, allocations: 12 kB / 3.571 GB, free: 57.49 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005253/6.508, allocations: 323.7 kB / 3.571 GB, free: 57.18 MB / 1.151 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.00211/6.51, allocations: 2.001 MB / 3.573 GB, free: 55 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/6.511, allocations: 227.2 kB / 3.573 GB, free: 54.77 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004471/6.511, allocations: 299.3 kB / 3.573 GB, free: 54.43 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/6.511, allocations: 42.5 kB / 3.573 GB, free: 54.38 MB / 1.151 GB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/6.511, allocations: 4 kB / 3.573 GB, free: 54.37 MB / 1.151 GB Notification: Performance of matching and sorting (n=24): time 0.0009302/6.512, allocations: 431.7 kB / 3.574 GB, free: 53.95 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/6.512, allocations: 55.41 kB / 3.574 GB, free: 53.88 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/6.513, allocations: 353 kB / 3.574 GB, free: 53.52 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/6.513, allocations: 29.7 kB / 3.574 GB, free: 53.49 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/6.513, allocations: 228.3 kB / 3.575 GB, free: 53.26 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.35e-05/6.513, allocations: 86.75 kB / 3.575 GB, free: 53.18 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/6.513, allocations: 4 kB / 3.575 GB, free: 53.17 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.027e-05/6.513, allocations: 350.8 kB / 3.575 GB, free: 52.82 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/6.513, allocations: 107.9 kB / 3.575 GB, free: 52.71 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/6.513, allocations: 202.2 kB / 3.575 GB, free: 52.48 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/6.514, allocations: 122 kB / 3.575 GB, free: 52.36 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/6.514, allocations: 3.984 kB / 3.575 GB, free: 52.36 MB / 1.151 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008141/6.515, allocations: 360.9 kB / 3.576 GB, free: 52 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.621e-05/6.515, allocations: 8.031 kB / 3.576 GB, free: 51.99 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/6.515, allocations: 4 kB / 3.576 GB, free: 51.99 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/6.515, allocations: 0 / 3.576 GB, free: 51.99 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/6.515, allocations: 59.91 kB / 3.576 GB, free: 51.93 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/6.515, allocations: 4 kB / 3.576 GB, free: 51.93 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/6.515, allocations: 63.56 kB / 3.576 GB, free: 51.86 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/6.515, allocations: 12 kB / 3.576 GB, free: 51.85 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 () * 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.0001699/6.516, allocations: 174.7 kB / 3.576 GB, free: 51.67 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/6.516, allocations: 43.48 kB / 3.576 GB, free: 51.63 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006232/6.516, allocations: 369.8 kB / 3.576 GB, free: 51.26 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/6.516, allocations: 0 / 3.576 GB, free: 51.26 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/6.516, allocations: 0 / 3.576 GB, free: 51.26 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/6.516, allocations: 7.984 kB / 3.576 GB, free: 51.25 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/6.518, allocations: 0.8951 MB / 3.577 GB, free: 50.28 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/6.518, allocations: 8.031 kB / 3.577 GB, free: 50.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/6.518, allocations: 51.91 kB / 3.577 GB, free: 50.22 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/6.518, allocations: 4 kB / 3.577 GB, free: 50.22 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/6.518, allocations: 8 kB / 3.577 GB, free: 50.21 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/6.518, allocations: 7.984 kB / 3.577 GB, free: 50.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/6.518, allocations: 0 / 3.577 GB, free: 50.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007984/6.519, allocations: 0.6942 MB / 3.578 GB, free: 49.43 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/6.519, allocations: 140.5 kB / 3.578 GB, free: 49.27 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/6.519, allocations: 7.984 kB / 3.578 GB, free: 49.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/6.519, allocations: 23.98 kB / 3.578 GB, free: 49.24 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/6.519, allocations: 31.92 kB / 3.578 GB, free: 49.21 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/6.519, allocations: 8 kB / 3.578 GB, free: 49.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002386/6.52, allocations: 279.1 kB / 3.578 GB, free: 48.94 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/6.52, allocations: 0 / 3.578 GB, free: 48.94 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001034/6.521, allocations: 255.8 kB / 3.579 GB, free: 48.69 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 () * 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.002646/6.523, allocations: 1.525 MB / 3.58 GB, free: 47.09 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005517/6.524, allocations: 275.4 kB / 3.58 GB, free: 46.83 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/6.524, allocations: 448 / 3.58 GB, free: 46.83 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/6.524, allocations: 151.7 kB / 3.581 GB, free: 46.68 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009339/6.525, allocations: 206.6 kB / 3.581 GB, free: 46.48 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/6.526, allocations: 0.9391 MB / 3.582 GB, free: 45.49 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/6.527, allocations: 0.8314 MB / 3.583 GB, free: 44.64 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003279/6.527, allocations: 91.38 kB / 3.583 GB, free: 44.55 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.385e-05/6.527, allocations: 35.44 kB / 3.583 GB, free: 44.52 MB / 1.151 GB Notification: Performance of SimCode: time 5.61e-07/6.527, allocations: 0 / 3.583 GB, free: 44.52 MB / 1.151 GB Notification: Performance of Templates: time 0.03092/6.558, allocations: 25.32 MB / 3.607 GB, free: 19.29 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches