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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 104.7 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 195.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 390.2 MB / 0.665 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.281, allocations: 140.4 MB / 0.9498 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.8045/1.086, allocations: 177 MB / 1.123 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009784/1.095, allocations: 7.768 MB / 1.13 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009617/1.096, allocations: 19.59 kB / 1.13 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008355/1.097, allocations: 200.2 kB / 1.13 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004098/1.101, allocations: 1.149 MB / 1.132 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002284/1.104, allocations: 0.6729 MB / 1.132 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001863/1.106, allocations: 1.08 MB / 1.133 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000628/1.106, allocations: 396.1 kB / 1.134 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002938/1.109, allocations: 0.8294 MB / 1.134 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007342/1.11, allocations: 461.9 kB / 1.135 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.772e-05/1.11, allocations: 41.16 kB / 1.135 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/1.112, allocations: 0.9823 MB / 1.136 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001903/1.112, allocations: 157.2 kB / 1.136 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003166/1.113, allocations: 250.4 kB / 1.136 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001177/1.114, allocations: 0.6574 MB / 1.137 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/1.114, allocations: 0 / 1.137 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.294e-06/1.114, allocations: 1.062 kB / 1.137 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.758e-06/1.114, allocations: 0 / 1.137 GB, free: 5.387 MB / 0.8575 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.001379/1.115, allocations: 0.8111 MB / 1.138 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.115, allocations: 9.688 kB / 1.138 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/1.116, allocations: 154 kB / 1.138 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/1.117, allocations: 375.7 kB / 1.138 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/1.117, allocations: 30.12 kB / 1.138 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.36e-05/1.117, allocations: 38.28 kB / 1.138 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007241/1.118, allocations: 452.5 kB / 1.139 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/1.118, allocations: 0 / 1.139 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/1.118, allocations: 14.12 kB / 1.139 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/1.118, allocations: 13.59 kB / 1.139 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005894/1.118, allocations: 320.3 kB / 1.139 GB, free: 20.45 MB / 0.8731 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.002143/1.121, allocations: 2.022 MB / 1.141 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/1.121, allocations: 231.1 kB / 1.141 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/1.121, allocations: 147.1 kB / 1.141 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006116/1.122, allocations: 312.5 kB / 1.142 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/1.122, allocations: 38.84 kB / 1.142 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=24): time 1.964e-06/1.122, allocations: 0 / 1.142 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24): time 0.00108/1.123, allocations: 453.9 kB / 1.142 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/1.123, allocations: 55.47 kB / 1.142 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004289/1.123, allocations: 407 kB / 1.143 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/1.123, allocations: 31.58 kB / 1.143 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/1.124, allocations: 224.3 kB / 1.143 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.439e-05/1.124, allocations: 87.75 kB / 1.143 GB, free: 18.28 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.744e-05/1.124, allocations: 61.2 kB / 1.143 GB, free: 18.26 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.124, allocations: 353.6 kB / 1.143 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/1.124, allocations: 110 kB / 1.143 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/1.124, allocations: 183.4 kB / 1.144 GB, free: 17.88 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004762/1.125, allocations: 307.5 kB / 1.144 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.125, allocations: 1.062 kB / 1.144 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006274/1.126, allocations: 358.7 kB / 1.144 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.126, allocations: 8.922 kB / 1.144 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.126, allocations: 4.406 kB / 1.144 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/1.126, allocations: 7.906 kB / 1.144 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/1.126, allocations: 62.11 kB / 1.144 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/1.126, allocations: 3.25 kB / 1.144 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/1.126, allocations: 53.81 kB / 1.144 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/1.126, allocations: 11.58 kB / 1.144 GB, free: 17.73 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001866/1.127, allocations: 173.7 kB / 1.145 GB, free: 17.61 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/1.127, allocations: 41.5 kB / 1.145 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006953/1.127, allocations: 368 kB / 1.145 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.127, allocations: 2.438 kB / 1.145 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.127, allocations: 2.766 kB / 1.145 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/1.127, allocations: 2.531 kB / 1.145 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/1.129, allocations: 0.9335 MB / 1.146 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.129, allocations: 3.938 kB / 1.146 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/1.129, allocations: 47.02 kB / 1.146 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/1.129, allocations: 3.406 kB / 1.146 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/1.129, allocations: 11.12 kB / 1.146 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/1.129, allocations: 7.281 kB / 1.146 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.129, allocations: 2.094 kB / 1.146 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009428/1.13, allocations: 0.6323 MB / 1.147 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/1.13, allocations: 155.5 kB / 1.147 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.812e-05/1.13, allocations: 6.031 kB / 1.147 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/1.131, allocations: 22.44 kB / 1.147 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/1.131, allocations: 20.56 kB / 1.147 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/1.131, allocations: 7.281 kB / 1.147 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003156/1.131, allocations: 286.7 kB / 1.147 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.11e-07/1.131, allocations: 0 / 1.147 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005436/1.132, allocations: 116.2 kB / 1.147 GB, free: 16.72 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004281/1.132, allocations: 175.8 kB / 1.147 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006906/1.133, allocations: 297.1 kB / 1.148 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/1.133, allocations: 0 / 1.148 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003077/1.133, allocations: 154 kB / 1.148 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/1.134, allocations: 230.1 kB / 1.148 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/1.136, allocations: 0.9781 MB / 1.149 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/1.136, allocations: 0.8315 MB / 1.15 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/1.136, allocations: 37.55 kB / 1.15 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of SimCode: time 4e-07/1.136, allocations: 1.875 kB / 1.15 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of Templates: time 0.0133/1.15, allocations: 6.794 MB / 1.156 GB, free: 14.64 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches