Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001522, allocations: 110.4 kB / 16.37 MB, free: 6.012 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.001638/0.001639, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.228/2.228, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 69.75 kB / 0.814 GB, free: 32.8 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2792, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6769/0.9561, allocations: 167.5 MB / 1.115 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006922/0.9631, allocations: 6.538 MB / 1.121 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005812/0.9637, allocations: 12.72 kB / 1.121 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005388/0.9643, allocations: 171.3 kB / 1.121 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.9664, allocations: 0.8417 MB / 1.122 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009387/0.9674, allocations: 331 kB / 1.122 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008222/0.9682, allocations: 0.7187 MB / 1.123 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004371/0.9687, allocations: 271.2 kB / 1.123 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.9698, allocations: 0.5495 MB / 1.124 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003701/0.9702, allocations: 277 kB / 1.124 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.9702, allocations: 22.81 kB / 1.124 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006381/0.9709, allocations: 342.6 kB / 1.125 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.971, allocations: 104.8 kB / 1.125 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.9712, allocations: 162.3 kB / 1.125 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006493/0.9719, allocations: 470 kB / 1.125 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.9719, allocations: 1.5 kB / 1.125 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9719, allocations: 0 / 1.125 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.9719, allocations: 1.203 kB / 1.125 GB, free: 5.055 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001004/0.9729, allocations: 0.6226 MB / 1.126 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.9729, allocations: 10.03 kB / 1.126 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/0.9733, allocations: 63.84 kB / 1.126 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005187/0.9738, allocations: 326.8 kB / 1.126 GB, free: 20.32 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.9738, allocations: 23.53 kB / 1.126 GB, free: 20.32 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.9739, allocations: 28.8 kB / 1.126 GB, free: 20.32 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.9744, allocations: 315.9 kB / 1.127 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.9745, allocations: 1.656 kB / 1.127 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.9745, allocations: 11.75 kB / 1.127 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.9745, allocations: 7.562 kB / 1.127 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004351/0.9749, allocations: 200.9 kB / 1.127 GB, free: 20.22 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.00166/0.9766, allocations: 1.529 MB / 1.128 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.9769, allocations: 120.8 kB / 1.128 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.9771, allocations: 92.94 kB / 1.128 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000623/0.9777, allocations: 301.5 kB / 1.129 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.9777, allocations: 35.53 kB / 1.129 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.9777, allocations: 1.203 kB / 1.129 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0007642/0.9785, allocations: 278.2 kB / 1.129 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.9786, allocations: 53.31 kB / 1.129 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.9789, allocations: 316.1 kB / 1.129 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.9789, allocations: 27.36 kB / 1.129 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.9791, allocations: 185.7 kB / 1.13 GB, free: 18.37 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.9791, allocations: 40.34 kB / 1.13 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.289e-05/0.9792, allocations: 40.78 kB / 1.13 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.9793, allocations: 340.6 kB / 1.13 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.9794, allocations: 60.53 kB / 1.13 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.9796, allocations: 112.5 kB / 1.13 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.98, allocations: 175.8 kB / 1.13 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.98, allocations: 0.5312 kB / 1.13 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003839/0.9804, allocations: 221.5 kB / 1.131 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.9804, allocations: 6.484 kB / 1.131 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.9804, allocations: 1.5 kB / 1.131 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.9804, allocations: 2.531 kB / 1.131 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.9806, allocations: 36.19 kB / 1.131 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.9806, allocations: 4.031 kB / 1.131 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.9808, allocations: 31.8 kB / 1.131 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.9808, allocations: 5.531 kB / 1.131 GB, free: 17.84 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001364/0.981, allocations: 159.2 kB / 1.131 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.981, allocations: 30.27 kB / 1.131 GB, free: 17.71 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004031/0.9814, allocations: 214.2 kB / 1.131 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.9814, allocations: 1.312 kB / 1.131 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9814, allocations: 1.938 kB / 1.131 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.9814, allocations: 2.672 kB / 1.131 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009631/0.9824, allocations: 0.6768 MB / 1.132 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.9824, allocations: 6.438 kB / 1.132 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.9826, allocations: 29.42 kB / 1.132 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.9826, allocations: 2.688 kB / 1.132 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.9826, allocations: 6.562 kB / 1.132 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.9826, allocations: 6.781 kB / 1.132 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.9826, allocations: 2.344 kB / 1.132 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/0.9831, allocations: 337 kB / 1.132 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.9833, allocations: 115.4 kB / 1.132 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.9833, allocations: 12.91 kB / 1.132 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.9835, allocations: 15.92 kB / 1.132 GB, free: 16.97 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.9835, allocations: 11.16 kB / 1.132 GB, free: 16.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.9836, allocations: 8.188 kB / 1.132 GB, free: 16.97 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002208/0.9838, allocations: 228.3 kB / 1.132 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9838, allocations: 0 / 1.132 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003914/0.9842, allocations: 69.59 kB / 1.133 GB, free: 16.88 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0003293/0.9845, allocations: 161.2 kB / 1.133 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003661/0.9849, allocations: 157.9 kB / 1.133 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9849, allocations: 2.531 kB / 1.133 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.9851, allocations: 82.3 kB / 1.133 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007552/0.9858, allocations: 155.5 kB / 1.133 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007678/0.9866, allocations: 0.5424 MB / 1.134 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.987, allocations: 0.7804 MB / 1.134 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001646/0.9872, allocations: 60.08 kB / 1.134 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.9872, allocations: 23.78 kB / 1.134 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.9872, allocations: 0 / 1.134 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.009543/0.9968, allocations: 5.118 MB / 1.139 GB, free: 15.41 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches