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.494/1.494, allocations: 249.3 MB / 261.8 MB, free: 5.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 176.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009232/0.0009235, allocations: 87.12 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.124e-05/5.125e-05, allocations: 8 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2353, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.625/5.861, allocations: 2.228 GB / 3.12 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/5.861, allocations: 90.52 kB / 3.12 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.235/7.096, allocations: 424.9 MB / 3.535 GB, free: 54.42 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.142e-06/7.096, allocations: 0 / 3.535 GB, free: 54.42 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.401e-05/7.096, allocations: 19.94 kB / 3.535 GB, free: 54.4 MB / 0.8698 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.001495/7.098, allocations: 0.8491 MB / 3.536 GB, free: 53.51 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/7.098, allocations: 8.031 kB / 3.536 GB, free: 53.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009172/7.099, allocations: 163.1 kB / 3.536 GB, free: 53.34 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/7.1, allocations: 0.6955 MB / 3.536 GB, free: 52.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/7.1, allocations: 28.78 kB / 3.536 GB, free: 52.57 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/7.1, allocations: 43.91 kB / 3.536 GB, free: 52.53 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/7.101, allocations: 355.6 kB / 3.537 GB, free: 52.18 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/7.101, allocations: 4 kB / 3.537 GB, free: 52.17 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/7.101, allocations: 16 kB / 3.537 GB, free: 52.16 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/7.101, allocations: 8 kB / 3.537 GB, free: 52.15 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/7.101, allocations: 307 kB / 3.537 GB, free: 51.85 MB / 0.8698 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.001553/7.103, allocations: 1.395 MB / 3.538 GB, free: 50.34 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/7.103, allocations: 288.4 kB / 3.539 GB, free: 50.05 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/7.104, allocations: 145.4 kB / 3.539 GB, free: 49.91 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004361/7.104, allocations: 303.5 kB / 3.539 GB, free: 49.55 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/7.104, allocations: 42.83 kB / 3.539 GB, free: 49.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 2.294e-06/7.104, allocations: 0 / 3.539 GB, free: 49.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.0006339/7.105, allocations: 359.1 kB / 3.54 GB, free: 49.15 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/7.105, allocations: 55.41 kB / 3.54 GB, free: 49.08 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/7.105, allocations: 326.9 kB / 3.54 GB, free: 48.76 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/7.105, allocations: 33.64 kB / 3.54 GB, free: 48.72 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.402e-05/7.105, allocations: 208.7 kB / 3.54 GB, free: 48.51 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/7.105, allocations: 122.2 kB / 3.54 GB, free: 48.39 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.507e-05/7.105, allocations: 8 kB / 3.54 GB, free: 48.38 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.706e-05/7.105, allocations: 354.8 kB / 3.541 GB, free: 48.03 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/7.105, allocations: 116 kB / 3.541 GB, free: 47.91 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/7.106, allocations: 176.5 kB / 3.541 GB, free: 47.72 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/7.106, allocations: 119.9 kB / 3.541 GB, free: 47.61 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/7.106, allocations: 0 / 3.541 GB, free: 47.61 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004247/7.106, allocations: 361.8 kB / 3.541 GB, free: 47.25 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/7.106, allocations: 8.031 kB / 3.541 GB, free: 47.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/7.106, allocations: 0 / 3.541 GB, free: 47.24 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/7.106, allocations: 4 kB / 3.541 GB, free: 47.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/7.107, allocations: 71.89 kB / 3.541 GB, free: 47.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/7.107, allocations: 4 kB / 3.541 GB, free: 47.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/7.107, allocations: 55.56 kB / 3.541 GB, free: 47.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/7.107, allocations: 16 kB / 3.541 GB, free: 47.09 MB / 0.8698 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 () * 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 7.697e-05/7.107, allocations: 121.6 kB / 3.542 GB, free: 46.96 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.666e-05/7.107, allocations: 39.53 kB / 3.542 GB, free: 46.93 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000564/7.108, allocations: 397.7 kB / 3.542 GB, free: 46.53 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/7.108, allocations: 4 kB / 3.542 GB, free: 46.53 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/7.108, allocations: 7.938 kB / 3.542 GB, free: 46.52 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/7.108, allocations: 3.984 kB / 3.542 GB, free: 46.52 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/7.109, allocations: 0.9765 MB / 3.543 GB, free: 45.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/7.109, allocations: 4 kB / 3.543 GB, free: 45.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/7.109, allocations: 67.91 kB / 3.543 GB, free: 45.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/7.109, allocations: 0 / 3.543 GB, free: 45.39 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/7.109, allocations: 15.98 kB / 3.543 GB, free: 45.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/7.109, allocations: 3.953 kB / 3.543 GB, free: 45.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/7.109, allocations: 4 kB / 3.543 GB, free: 45.37 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006497/7.11, allocations: 0.7239 MB / 3.544 GB, free: 44.56 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/7.11, allocations: 148.6 kB / 3.544 GB, free: 44.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/7.11, allocations: 15.95 kB / 3.544 GB, free: 44.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/7.11, allocations: 35.97 kB / 3.544 GB, free: 44.35 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/7.11, allocations: 31.78 kB / 3.544 GB, free: 44.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/7.11, allocations: 12 kB / 3.544 GB, free: 44.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001889/7.111, allocations: 265.2 kB / 3.544 GB, free: 44.05 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/7.111, allocations: 0 / 3.544 GB, free: 44.05 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007993/7.111, allocations: 267.8 kB / 3.545 GB, free: 43.79 MB / 0.8698 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 () * 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.001574/7.113, allocations: 1.52 MB / 3.546 GB, free: 42.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000418/7.113, allocations: 288.6 kB / 3.546 GB, free: 41.91 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/7.113, allocations: 0 / 3.546 GB, free: 41.91 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/7.114, allocations: 156.3 kB / 3.546 GB, free: 41.76 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008981/7.115, allocations: 216.1 kB / 3.547 GB, free: 41.55 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/7.116, allocations: 0.8083 MB / 3.547 GB, free: 40.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/7.116, allocations: 0.8509 MB / 3.548 GB, free: 39.82 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002879/7.116, allocations: 96.22 kB / 3.548 GB, free: 39.73 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.278e-05/7.116, allocations: 35.44 kB / 3.548 GB, free: 39.69 MB / 0.8698 GB Notification: Performance of SimCode: time 4.51e-07/7.116, allocations: 3.938 kB / 3.548 GB, free: 39.69 MB / 0.8698 GB Notification: Performance of Templates: time 0.03126/7.148, allocations: 29.63 MB / 3.577 GB, free: 10.1 MB / 0.8698 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