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.043/2.043, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.0009653/0.0009654, allocations: 180.6 kB / 487.4 MB, free: 5.066 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.327/1.327, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007908/0.0007908, allocations: 99.73 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.785e-05/1.788e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2265, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.77/4.997, allocations: 1.912 GB / 3.118 GB, free: 434.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/4.997, allocations: 86.56 kB / 3.118 GB, free: 434.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.453/6.45, allocations: 437.4 MB / 3.545 GB, free: 299 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.943e-06/6.45, allocations: 3.188 kB / 3.545 GB, free: 299 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.371e-05/6.45, allocations: 15.03 kB / 3.545 GB, free: 299 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.001757/6.452, allocations: 0.8389 MB / 3.546 GB, free: 298.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/6.452, allocations: 9.594 kB / 3.546 GB, free: 298.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/6.453, allocations: 146.7 kB / 3.546 GB, free: 298.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001974/6.455, allocations: 0.6967 MB / 3.547 GB, free: 298.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/6.455, allocations: 12.47 kB / 3.547 GB, free: 298.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.563e-05/6.455, allocations: 25.97 kB / 3.547 GB, free: 298.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007186/6.456, allocations: 247 kB / 3.547 GB, free: 298.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/6.457, allocations: 366 kB / 3.548 GB, free: 298.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/6.457, allocations: 2.594 kB / 3.548 GB, free: 298.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/6.457, allocations: 1.156 kB / 3.548 GB, free: 298.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/6.457, allocations: 9.031 kB / 3.548 GB, free: 298.3 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.00261/6.46, allocations: 1.89 MB / 3.55 GB, free: 297.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/6.46, allocations: 202.1 kB / 3.55 GB, free: 297 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/6.46, allocations: 113.9 kB / 3.55 GB, free: 297 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005925/6.461, allocations: 303.6 kB / 3.55 GB, free: 296.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/6.461, allocations: 32.09 kB / 3.55 GB, free: 296.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=24): time 2.384e-06/6.461, allocations: 0 / 3.55 GB, free: 296.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=24): time 0.001125/6.462, allocations: 374.3 kB / 3.551 GB, free: 296.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/6.462, allocations: 58.81 kB / 3.551 GB, free: 296.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/6.462, allocations: 230.3 kB / 3.551 GB, free: 296.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/6.462, allocations: 26.98 kB / 3.551 GB, free: 296.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/6.463, allocations: 238.7 kB / 3.551 GB, free: 296.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.606e-05/6.463, allocations: 81.27 kB / 3.551 GB, free: 296.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/6.463, allocations: 1.094 kB / 3.551 GB, free: 296.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001067/6.463, allocations: 346.9 kB / 3.551 GB, free: 296 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/6.463, allocations: 85 kB / 3.552 GB, free: 296 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/6.463, allocations: 172.8 kB / 3.552 GB, free: 295.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/6.464, allocations: 207.2 kB / 3.552 GB, free: 295.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/6.464, allocations: 3.469 kB / 3.552 GB, free: 295.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008476/6.465, allocations: 389.8 kB / 3.552 GB, free: 295.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/6.465, allocations: 5.219 kB / 3.552 GB, free: 295.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/6.465, allocations: 3.062 kB / 3.552 GB, free: 295.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/6.465, allocations: 7 kB / 3.552 GB, free: 295.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/6.465, allocations: 61.16 kB / 3.552 GB, free: 295.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/6.465, allocations: 3.594 kB / 3.552 GB, free: 295.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/6.465, allocations: 47.34 kB / 3.552 GB, free: 295.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/6.465, allocations: 12.33 kB / 3.552 GB, free: 295.8 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.778e-05/6.465, allocations: 120 kB / 3.553 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/6.465, allocations: 29.91 kB / 3.553 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009411/6.466, allocations: 398.3 kB / 3.553 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/6.466, allocations: 2.75 kB / 3.553 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/6.466, allocations: 0 / 3.553 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/6.466, allocations: 1.453 kB / 3.553 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/6.468, allocations: 0.9094 MB / 3.554 GB, free: 295.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/6.468, allocations: 2.016 kB / 3.554 GB, free: 295.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/6.469, allocations: 50.42 kB / 3.554 GB, free: 295.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/6.469, allocations: 3.125 kB / 3.554 GB, free: 295.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/6.469, allocations: 4.188 kB / 3.554 GB, free: 295.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.129e-05/6.469, allocations: 7.5 kB / 3.554 GB, free: 295.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/6.469, allocations: 2.062 kB / 3.554 GB, free: 295.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/6.47, allocations: 0.7106 MB / 3.555 GB, free: 295 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/6.47, allocations: 128.5 kB / 3.555 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/6.47, allocations: 7.719 kB / 3.555 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/6.47, allocations: 24.14 kB / 3.555 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/6.47, allocations: 23.72 kB / 3.555 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/6.47, allocations: 7.672 kB / 3.555 GB, free: 294.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001684/6.47, allocations: 186.7 kB / 3.555 GB, free: 294.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/6.47, allocations: 0 / 3.555 GB, free: 294.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008718/6.471, allocations: 212.5 kB / 3.555 GB, free: 294.8 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.002435/6.474, allocations: 1.712 MB / 3.557 GB, free: 294.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004246/6.474, allocations: 225.2 kB / 3.557 GB, free: 294.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/6.474, allocations: 0 / 3.557 GB, free: 294.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/6.474, allocations: 120.3 kB / 3.557 GB, free: 294.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006671/6.475, allocations: 118.7 kB / 3.557 GB, free: 294.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/6.476, allocations: 0.5658 MB / 3.558 GB, free: 294.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/6.476, allocations: 0.8379 MB / 3.559 GB, free: 293.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000262/6.477, allocations: 81.58 kB / 3.559 GB, free: 293.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/6.477, allocations: 32 kB / 3.559 GB, free: 293.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.293e-06/6.477, allocations: 0 / 3.559 GB, free: 293.4 MB / 1.151 GB Notification: Performance of Templates: time 0.02514/6.502, allocations: 13.51 MB / 3.572 GB, free: 293.2 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