Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.375/1.375, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001378, allocations: 178.7 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.842/1.842, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008318/0.0008316, allocations: 89.55 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003695, allocations: 18.67 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2406, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.415/5.656, allocations: 2.228 GB / 3.128 GB, free: 333.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/5.656, allocations: 92.62 kB / 3.128 GB, free: 333.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.496/7.152, allocations: 425.4 MB / 3.544 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.873e-06/7.152, allocations: 6.875 kB / 3.544 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.949e-05/7.152, allocations: 14 kB / 3.544 GB, free: 222.5 MB / 0.8855 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.002698/7.155, allocations: 0.915 MB / 3.544 GB, free: 222 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/7.155, allocations: 11.09 kB / 3.544 GB, free: 222 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/7.156, allocations: 152.6 kB / 3.545 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/7.158, allocations: 0.6995 MB / 3.545 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.105e-05/7.158, allocations: 35.64 kB / 3.545 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/7.158, allocations: 42 kB / 3.545 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007508/7.159, allocations: 379 kB / 3.546 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/7.159, allocations: 3.375 kB / 3.546 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/7.159, allocations: 13.28 kB / 3.546 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/7.159, allocations: 10.81 kB / 3.546 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000648/7.159, allocations: 351.5 kB / 3.546 GB, free: 221.7 MB / 0.8855 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.002078/7.162, allocations: 1.402 MB / 3.547 GB, free: 221 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/7.162, allocations: 296.4 kB / 3.548 GB, free: 221 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004871/7.163, allocations: 304.2 kB / 3.548 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/7.163, allocations: 37.12 kB / 3.548 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/7.163, allocations: 0 / 3.548 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.001174/7.164, allocations: 0.5121 MB / 3.549 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/7.164, allocations: 58.67 kB / 3.549 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/7.164, allocations: 331.6 kB / 3.549 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/7.164, allocations: 33.2 kB / 3.549 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/7.164, allocations: 209.5 kB / 3.549 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/7.164, allocations: 118.2 kB / 3.549 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/7.164, allocations: 7.031 kB / 3.549 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001024/7.165, allocations: 357.8 kB / 3.55 GB, free: 220 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/7.165, allocations: 129.2 kB / 3.55 GB, free: 220 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/7.165, allocations: 191.1 kB / 3.55 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/7.165, allocations: 142.8 kB / 3.55 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/7.165, allocations: 0 / 3.55 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000626/7.166, allocations: 399.8 kB / 3.55 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/7.166, allocations: 3.625 kB / 3.55 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/7.166, allocations: 6.188 kB / 3.55 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/7.166, allocations: 0 / 3.55 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/7.166, allocations: 65.97 kB / 3.55 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/7.166, allocations: 7.703 kB / 3.551 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/7.167, allocations: 56.72 kB / 3.551 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/7.167, allocations: 19.14 kB / 3.551 GB, free: 219.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * 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.0001869/7.167, allocations: 169.3 kB / 3.551 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/7.167, allocations: 37.66 kB / 3.551 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008327/7.168, allocations: 439.4 kB / 3.551 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/7.168, allocations: 3.531 kB / 3.551 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/7.168, allocations: 11.81 kB / 3.551 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/7.168, allocations: 0 / 3.551 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/7.17, allocations: 1.023 MB / 3.552 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/7.17, allocations: 0 / 3.552 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/7.17, allocations: 70.39 kB / 3.552 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/7.17, allocations: 0 / 3.552 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/7.17, allocations: 14.03 kB / 3.552 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/7.17, allocations: 15.11 kB / 3.552 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/7.17, allocations: 0 / 3.552 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009737/7.171, allocations: 0.7714 MB / 3.553 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/7.171, allocations: 161.1 kB / 3.553 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.275e-05/7.171, allocations: 11.48 kB / 3.553 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/7.172, allocations: 30.44 kB / 3.553 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/7.172, allocations: 25.56 kB / 3.553 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/7.172, allocations: 11.12 kB / 3.553 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002799/7.172, allocations: 270.5 kB / 3.554 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.81e-07/7.172, allocations: 0 / 3.554 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001168/7.173, allocations: 260.2 kB / 3.554 GB, free: 218.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (senH_flow.h_out,senH.h_out,senHLat_flow.h_out,senHSen_flow.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 (33): * Single equations (assignments): 33 * 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.002733/7.176, allocations: 1.523 MB / 3.555 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007173/7.177, allocations: 343.3 kB / 3.556 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/7.177, allocations: 0 / 3.556 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002987/7.177, allocations: 177 kB / 3.556 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009945/7.178, allocations: 214.1 kB / 3.556 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/7.18, allocations: 1.166 MB / 3.557 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/7.18, allocations: 0.8428 MB / 3.558 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003936/7.18, allocations: 101.7 kB / 3.558 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/7.181, allocations: 42.17 kB / 3.558 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of SimCode: time 5.31e-07/7.181, allocations: 0 / 3.558 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.03728/7.218, allocations: 25.59 MB / 3.583 GB, free: 215.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,senM_flow.m_flow,senH.h_out,senH_flow.H_flow,senHSen_flow.H_flow,senHLat_flow.H_flow,pro.y,add.y Variables in the result:add.k1,add.k2,add.u1,add.u2,add.y,pro.u2,pro.y,ramp.duration,ramp.height,ramp.offset,ramp.startTime,senH.allowFlowReversal,senH.dynamic,senH.h_out,senH.h_out_start,senH.initType,senH.m_flow_nominal,senH.m_flow_small,senH.port_a.Xi_outflow[1],senH.port_a.p,senH.port_b.Xi_outflow[1],senH.port_b.p,senH.tau,senH.tauInv,senHLat_flow.H_flow,senHLat_flow.allowFlowReversal,senHLat_flow.dynamic,senHLat_flow.h_out_start,senHLat_flow.i_x,senHLat_flow.initType,senHLat_flow.m_flow_nominal,senHLat_flow.m_flow_small,senHLat_flow.port_a.Xi_outflow[1],senHLat_flow.port_a.p,senHLat_flow.port_b.Xi_outflow[1],senHLat_flow.port_b.p,senHLat_flow.tau,senHLat_flow.tauInv,senHSen_flow.H_flow,senHSen_flow.allowFlowReversal,senHSen_flow.dynamic,senHSen_flow.h_out_start,senHSen_flow.i_x,senHSen_flow.initType,senHSen_flow.m_flow_nominal,senHSen_flow.m_flow_small,senHSen_flow.port_a.Xi_outflow[1],senHSen_flow.port_a.p,senHSen_flow.port_b.Xi_outflow[1],senHSen_flow.port_b.p,senHSen_flow.tau,senHSen_flow.tauInv,senH_flow.H_flow,senH_flow.allowFlowReversal,senH_flow.dynamic,senH_flow.h_out_start,senH_flow.initType,senH_flow.m_flow_nominal,senH_flow.m_flow_small,senH_flow.port_a.Xi_outflow[1],senH_flow.port_a.p,senH_flow.port_b.Xi_outflow[1],senH_flow.port_b.p,senH_flow.tau,senH_flow.tauInv,senM_flow.allowFlowReversal,senM_flow.m_flow,senM_flow.m_flow_nominal,senM_flow.m_flow_small,senM_flow.port_a.Xi_outflow[1],senM_flow.port_a.p,senM_flow.port_b.Xi_outflow[1],senM_flow.port_b.p,sin.T,sin.T_in_internal,sin.X[1],sin.X[2],sin.Xi_in_internal[1],sin.flowDirection,sin.nPorts,sin.p,sin.ports[1].Xi_outflow[1],sin.ports[1].p,sin.verifyInputs,sou.T,sou.T_in_internal,sou.X[1],sou.X[2],sou.Xi_in_internal[1],sou.flowDirection,sou.m_flow,sou.nPorts,sou.p_in_internal,sou.ports[1].Xi_outflow[1],sou.ports[1].p,sou.verifyInputs,time