Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001641/0.001641, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002229/0.002229, allocations: 198.5 kB / 16.14 MB, free: 6.711 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.511/1.511, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.897/2.897, allocations: 437 MB / 0.7099 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 60.09 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7989/0.801, allocations: 151.6 MB / 1.017 GB, free: 2.934 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1969/0.9979, allocations: 159.1 MB / 1.172 GB, free: 3.223 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006456/1.004, allocations: 4.563 MB / 1.176 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005302/1.005, allocations: 15.94 kB / 1.176 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006041/1.006, allocations: 95.34 kB / 1.177 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000981/1.007, allocations: 310.7 kB / 1.177 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008039/1.007, allocations: 246.7 kB / 1.177 GB, free: 14 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001031/1.009, allocations: 0.7951 MB / 1.178 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003255/1.009, allocations: 169.5 kB / 1.178 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/1.01, allocations: 426.4 kB / 1.178 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003018/1.01, allocations: 195.2 kB / 1.179 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/1.01, allocations: 15.94 kB / 1.179 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/1.01, allocations: 75.92 kB / 1.179 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/1.011, allocations: 83.78 kB / 1.179 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/1.011, allocations: 119.3 kB / 1.179 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003747/1.011, allocations: 275.1 kB / 1.179 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.011, allocations: 8 kB / 1.179 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.675e-06/1.011, allocations: 3.984 kB / 1.179 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.013e-05/1.011, allocations: 0 / 1.179 GB, free: 11.85 MB / 0.9356 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.0009474/1.012, allocations: 0.5236 MB / 1.18 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/1.012, allocations: 12.03 kB / 1.18 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.199e-05/1.012, allocations: 27.66 kB / 1.18 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/1.013, allocations: 271.4 kB / 1.18 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/1.013, allocations: 19.94 kB / 1.18 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/1.013, allocations: 20 kB / 1.18 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/1.013, allocations: 261.8 kB / 1.18 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.013, allocations: 4 kB / 1.18 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/1.013, allocations: 15.94 kB / 1.18 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/1.013, allocations: 7.984 kB / 1.18 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/1.014, allocations: 147.7 kB / 1.18 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/1.015, allocations: 1.371 MB / 1.182 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/1.016, allocations: 183.7 kB / 1.182 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/1.016, allocations: 93.11 kB / 1.182 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003901/1.016, allocations: 121.1 kB / 1.182 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/1.016, allocations: 50.44 kB / 1.182 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/1.016, allocations: 0 / 1.182 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.000626/1.017, allocations: 197.2 kB / 1.182 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000166/1.017, allocations: 196.5 kB / 1.183 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003907/1.017, allocations: 283 kB / 1.183 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/1.018, allocations: 33.7 kB / 1.183 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/1.018, allocations: 147.8 kB / 1.183 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/1.018, allocations: 31.55 kB / 1.183 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.147e-05/1.018, allocations: 41.61 kB / 1.183 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.018, allocations: 334.8 kB / 1.183 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/1.018, allocations: 51.91 kB / 1.183 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/1.018, allocations: 111.7 kB / 1.184 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/1.019, allocations: 154.7 kB / 1.184 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.019, allocations: 0 / 1.184 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003802/1.019, allocations: 193.1 kB / 1.184 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/1.019, allocations: 14.12 kB / 1.184 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.019, allocations: 0 / 1.184 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/1.019, allocations: 4 kB / 1.184 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/1.019, allocations: 32.23 kB / 1.184 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/1.019, allocations: 4 kB / 1.184 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/1.02, allocations: 36.05 kB / 1.184 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/1.02, allocations: 4 kB / 1.184 GB, free: 6.465 MB / 0.9356 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/1.02, allocations: 149.8 kB / 1.184 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/1.02, allocations: 27.66 kB / 1.184 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/1.02, allocations: 127 kB / 1.184 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.02, allocations: 15.92 kB / 1.184 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/1.02, allocations: 4 kB / 1.184 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.02, allocations: 0 / 1.184 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008866/1.021, allocations: 0.7729 MB / 1.185 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.021, allocations: 160 / 1.185 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/1.021, allocations: 31.92 kB / 1.185 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/1.021, allocations: 4 kB / 1.185 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/1.021, allocations: 0 / 1.185 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.021, allocations: 4 kB / 1.185 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.021, allocations: 0 / 1.185 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005481/1.022, allocations: 343.3 kB / 1.185 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/1.022, allocations: 116.7 kB / 1.186 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/1.022, allocations: 4 kB / 1.186 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/1.022, allocations: 8 kB / 1.186 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/1.022, allocations: 19.98 kB / 1.186 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/1.022, allocations: 4 kB / 1.186 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002165/1.022, allocations: 209.9 kB / 1.186 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/1.022, allocations: 0 / 1.186 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003361/1.023, allocations: 55.92 kB / 1.186 GB, free: 4.449 MB / 0.9356 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.0003746/1.023, allocations: 144.6 kB / 1.186 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003544/1.024, allocations: 119.8 kB / 1.186 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.024, allocations: 0 / 1.186 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/1.024, allocations: 60.53 kB / 1.186 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007654/1.024, allocations: 126.9 kB / 1.186 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008731/1.025, allocations: 0.5367 MB / 1.187 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/1.026, allocations: 0.7599 MB / 1.188 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001483/1.026, allocations: 50.5 kB / 1.188 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/1.026, allocations: 19.44 kB / 1.188 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of SimCode: time 2.01e-07/1.026, allocations: 0 / 1.188 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of Templates: time 0.009567/1.036, allocations: 4.008 MB / 1.192 GB, free: 14.62 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches