Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008215/0.008221, allocations: 104.6 kB / 15.74 MB, free: 5.984 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.001689/0.001689, allocations: 197.5 kB / 16.67 MB, free: 5.91 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001435, allocations: 59.91 kB / 1.054 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.043, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.19/1.233, allocations: 161.4 MB / 1.365 GB, free: 11.78 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.00613/1.24, allocations: 4.555 MB / 1.37 GB, free: 7.215 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006074/1.24, allocations: 11.94 kB / 1.37 GB, free: 7.203 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005137/1.241, allocations: 119.1 kB / 1.37 GB, free: 7.086 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001065/1.242, allocations: 330.4 kB / 1.37 GB, free: 6.762 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009677/1.243, allocations: 289.7 kB / 1.37 GB, free: 6.484 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0008277/1.244, allocations: 0.5534 MB / 1.371 GB, free: 5.93 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000363/1.244, allocations: 209.1 kB / 1.371 GB, free: 5.723 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/1.245, allocations: 462.2 kB / 1.372 GB, free: 5.27 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/1.245, allocations: 191.2 kB / 1.372 GB, free: 5.082 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/1.245, allocations: 16 kB / 1.372 GB, free: 5.066 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/1.246, allocations: 83.94 kB / 1.372 GB, free: 4.984 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/1.246, allocations: 87.77 kB / 1.372 GB, free: 4.898 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/1.246, allocations: 115.4 kB / 1.372 GB, free: 4.785 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.000453/1.246, allocations: 300.9 kB / 1.372 GB, free: 4.492 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/1.246, allocations: 0 / 1.372 GB, free: 4.492 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.575e-06/1.246, allocations: 0 / 1.372 GB, free: 4.492 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.148e-06/1.246, allocations: 0 / 1.372 GB, free: 4.492 MB / 1.092 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.001175/1.248, allocations: 0.5295 MB / 1.373 GB, free: 3.914 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/1.248, allocations: 16.03 kB / 1.373 GB, free: 3.898 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.65e-05/1.248, allocations: 27.66 kB / 1.373 GB, free: 3.871 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/1.248, allocations: 287.3 kB / 1.373 GB, free: 3.551 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/1.248, allocations: 12 kB / 1.373 GB, free: 3.539 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/1.248, allocations: 23.94 kB / 1.373 GB, free: 3.516 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/1.249, allocations: 269.6 kB / 1.374 GB, free: 3.215 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/1.249, allocations: 0 / 1.374 GB, free: 3.215 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/1.249, allocations: 15.94 kB / 1.374 GB, free: 3.199 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/1.249, allocations: 15.98 kB / 1.374 GB, free: 3.184 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/1.249, allocations: 143.8 kB / 1.374 GB, free: 3.043 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/1.251, allocations: 1.367 MB / 1.375 GB, free: 1.586 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/1.251, allocations: 191.7 kB / 1.375 GB, free: 1.344 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/1.251, allocations: 89.11 kB / 1.375 GB, free: 1.238 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003578/1.252, allocations: 121 kB / 1.375 GB, free: 1.102 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/1.252, allocations: 46.44 kB / 1.375 GB, free: 1.047 MB / 1.092 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/1.252, allocations: 0 / 1.375 GB, free: 1.047 MB / 1.092 GB Notification: Performance of matching and sorting (n=10): time 0.0006828/1.252, allocations: 205.6 kB / 1.376 GB, free: 0.8398 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/1.253, allocations: 187.9 kB / 1.376 GB, free: 0.6133 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/1.253, allocations: 283 kB / 1.376 GB, free: 332 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/1.253, allocations: 33.7 kB / 1.376 GB, free: 292 kB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/1.253, allocations: 147.9 kB / 1.376 GB, free: 140 kB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/1.253, allocations: 35.45 kB / 1.376 GB, free: 104 kB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.808e-05/1.253, allocations: 45.8 kB / 1.376 GB, free: 52 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.253, allocations: 334.8 kB / 1.377 GB, free: 15.71 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/1.253, allocations: 43.97 kB / 1.377 GB, free: 15.67 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/1.254, allocations: 119.6 kB / 1.377 GB, free: 15.53 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/1.254, allocations: 150.8 kB / 1.377 GB, free: 15.36 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.254, allocations: 0 / 1.377 GB, free: 15.36 MB / 1.107 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003598/1.254, allocations: 189.1 kB / 1.377 GB, free: 15.16 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.254, allocations: 11.94 kB / 1.377 GB, free: 15.15 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/1.254, allocations: 224 / 1.377 GB, free: 15.15 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.254, allocations: 8 kB / 1.377 GB, free: 15.14 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/1.255, allocations: 31.92 kB / 1.377 GB, free: 15.11 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/1.255, allocations: 4 kB / 1.377 GB, free: 15.11 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/1.255, allocations: 27.73 kB / 1.377 GB, free: 15.08 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/1.255, allocations: 8 kB / 1.377 GB, free: 15.07 MB / 1.107 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.0001355/1.255, allocations: 149.8 kB / 1.377 GB, free: 14.92 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/1.255, allocations: 27.66 kB / 1.377 GB, free: 14.89 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003369/1.255, allocations: 139.3 kB / 1.378 GB, free: 14.74 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/1.255, allocations: 4 kB / 1.378 GB, free: 14.74 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.255, allocations: 0 / 1.378 GB, free: 14.74 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/1.255, allocations: 7.938 kB / 1.378 GB, free: 14.73 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008733/1.256, allocations: 0.7691 MB / 1.378 GB, free: 13.89 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.256, allocations: 4 kB / 1.378 GB, free: 13.88 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/1.257, allocations: 27.92 kB / 1.378 GB, free: 13.86 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/1.257, allocations: 4 kB / 1.378 GB, free: 13.85 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/1.257, allocations: 0 / 1.378 GB, free: 13.85 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/1.257, allocations: 4 kB / 1.378 GB, free: 13.85 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.257, allocations: 0 / 1.378 GB, free: 13.85 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005123/1.257, allocations: 343.5 kB / 1.379 GB, free: 13.48 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.69e-05/1.257, allocations: 108.8 kB / 1.379 GB, free: 13.36 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/1.257, allocations: 12.05 kB / 1.379 GB, free: 13.34 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/1.257, allocations: 4 kB / 1.379 GB, free: 13.34 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/1.257, allocations: 19.95 kB / 1.379 GB, free: 13.32 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/1.257, allocations: 4 kB / 1.379 GB, free: 13.32 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001765/1.258, allocations: 209.9 kB / 1.379 GB, free: 13.12 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/1.258, allocations: 0 / 1.379 GB, free: 13.12 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003291/1.258, allocations: 55.94 kB / 1.379 GB, free: 13.06 MB / 1.107 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.0003363/1.258, allocations: 142.5 kB / 1.379 GB, free: 12.92 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0003625/1.259, allocations: 127.8 kB / 1.379 GB, free: 12.8 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.259, allocations: 448 / 1.379 GB, free: 12.8 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/1.259, allocations: 59.91 kB / 1.379 GB, free: 12.74 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007819/1.26, allocations: 125.3 kB / 1.38 GB, free: 12.61 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008611/1.26, allocations: 492.1 kB / 1.38 GB, free: 12.09 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/1.261, allocations: 0.7634 MB / 1.381 GB, free: 11.3 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001353/1.261, allocations: 46.27 kB / 1.381 GB, free: 11.26 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/1.261, allocations: 27.42 kB / 1.381 GB, free: 11.23 MB / 1.107 GB Notification: Performance of SimCode: time 3.1e-07/1.261, allocations: 0 / 1.381 GB, free: 11.23 MB / 1.107 GB Notification: Performance of Templates: time 0.008815/1.27, allocations: 4.318 MB / 1.385 GB, free: 6.984 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches