Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007473/0.007473, allocations: 101 kB / 15.87 MB, free: 5.863 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.001474/0.001474, allocations: 189.8 kB / 16.79 MB, free: 5.805 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.39/1.39, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.2 MB / 0.6649 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 67.88 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6698/0.6713, allocations: 140.4 MB / 0.9496 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1728/0.8442, allocations: 159.1 MB / 1.105 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005916/0.8501, allocations: 4.554 MB / 1.109 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004333/0.8506, allocations: 7.938 kB / 1.109 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005025/0.8511, allocations: 99.36 kB / 1.11 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0009714/0.8521, allocations: 306.7 kB / 1.11 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008478/0.853, allocations: 255.3 kB / 1.11 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009024/0.8539, allocations: 0.7875 MB / 1.111 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003718/0.8543, allocations: 173.4 kB / 1.111 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.8554, allocations: 422.4 kB / 1.111 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004122/0.8558, allocations: 203.2 kB / 1.112 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.815e-05/0.8559, allocations: 8 kB / 1.112 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.8561, allocations: 75.81 kB / 1.112 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.8563, allocations: 87.72 kB / 1.112 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.8564, allocations: 111.4 kB / 1.112 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.8567, allocations: 207.6 kB / 1.112 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8568, allocations: 0 / 1.112 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8568, allocations: 0 / 1.112 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.739e-06/0.8568, allocations: 4 kB / 1.112 GB, free: 11.12 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009382/0.8577, allocations: 0.5379 MB / 1.113 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.8578, allocations: 8.031 kB / 1.113 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.525e-05/0.8579, allocations: 35.66 kB / 1.113 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.8583, allocations: 275.3 kB / 1.113 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.8583, allocations: 12 kB / 1.113 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.8584, allocations: 19.94 kB / 1.113 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.8588, allocations: 269.6 kB / 1.113 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.8588, allocations: 3.984 kB / 1.113 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.8589, allocations: 15.94 kB / 1.113 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.8589, allocations: 4 kB / 1.113 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.8592, allocations: 143.8 kB / 1.113 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.8607, allocations: 1.367 MB / 1.115 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.861, allocations: 183.7 kB / 1.115 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.8612, allocations: 93.11 kB / 1.115 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003621/0.8616, allocations: 125 kB / 1.115 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.8617, allocations: 42.44 kB / 1.115 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.8617, allocations: 0 / 1.115 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006416/0.8623, allocations: 205.2 kB / 1.115 GB, free: 7.484 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.8624, allocations: 184.5 kB / 1.115 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.8627, allocations: 295 kB / 1.116 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.8628, allocations: 25.7 kB / 1.116 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.8629, allocations: 151.8 kB / 1.116 GB, free: 6.777 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.863, allocations: 35.55 kB / 1.116 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.463e-05/0.8631, allocations: 33.7 kB / 1.116 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.8632, allocations: 334.8 kB / 1.116 GB, free: 6.367 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.8633, allocations: 47.91 kB / 1.116 GB, free: 6.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.8635, allocations: 111.7 kB / 1.116 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.8638, allocations: 162.7 kB / 1.117 GB, free: 6 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8639, allocations: 0 / 1.117 GB, free: 6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003882/0.8642, allocations: 189.2 kB / 1.117 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.8643, allocations: 11.92 kB / 1.117 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.8643, allocations: 4 kB / 1.117 GB, free: 5.793 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.8643, allocations: 4 kB / 1.117 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.8645, allocations: 35.86 kB / 1.117 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.8645, allocations: 0 / 1.117 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.8647, allocations: 32.27 kB / 1.117 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.8647, allocations: 12 kB / 1.117 GB, free: 5.711 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 (15): * Single equations (assignments): 15 * 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.0001498/0.8648, allocations: 145.8 kB / 1.117 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.865, allocations: 35.69 kB / 1.117 GB, free: 5.523 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.8653, allocations: 138.8 kB / 1.117 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.8653, allocations: 4 kB / 1.117 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.8653, allocations: 0 / 1.117 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.8653, allocations: 8 kB / 1.117 GB, free: 5.371 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008069/0.8662, allocations: 0.7652 MB / 1.118 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.8662, allocations: 7.938 kB / 1.118 GB, free: 4.523 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.8663, allocations: 20.14 kB / 1.118 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.8663, allocations: 4 kB / 1.118 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.8663, allocations: 4 kB / 1.118 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.8663, allocations: 4 kB / 1.118 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8664, allocations: 0 / 1.118 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005193/0.8669, allocations: 347.2 kB / 1.118 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.72e-05/0.867, allocations: 108.8 kB / 1.118 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.867, allocations: 7.984 kB / 1.118 GB, free: 3.988 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.8672, allocations: 8 kB / 1.118 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.8672, allocations: 15.98 kB / 1.118 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.8672, allocations: 4 kB / 1.118 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001936/0.8674, allocations: 209.9 kB / 1.119 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8674, allocations: 0 / 1.119 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003513/0.8678, allocations: 59.94 kB / 1.119 GB, free: 3.695 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.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 (10): * Single equations (assignments): 10 * 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.0003445/0.8682, allocations: 143.6 kB / 1.119 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003504/0.8685, allocations: 127.8 kB / 1.119 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8685, allocations: 0 / 1.119 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.8687, allocations: 63.84 kB / 1.119 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007484/0.8694, allocations: 121.5 kB / 1.119 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008983/0.8703, allocations: 0.5656 MB / 1.12 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.8708, allocations: 0.7599 MB / 1.12 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/0.8709, allocations: 19.44 kB / 1.12 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/0.8709, allocations: 0 / 1.12 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of Templates: time 0.007366/0.8783, allocations: 3.8 MB / 1.124 GB, free: 14.07 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches