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.001504/0.001504, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001872/0.001872, allocations: 192 kB / 16.14 MB, free: 6.645 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 / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.753/2.753, allocations: 461.9 MB / 0.7342 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001463, allocations: 66.56 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3596, allocations: 157.4 MB / 1.052 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1676/0.5273, allocations: 159.1 MB / 1.207 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005743/0.5331, allocations: 4.543 MB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000364/0.5335, allocations: 7.938 kB / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004117/0.5339, allocations: 111.3 kB / 1.212 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007473/0.5347, allocations: 298.7 kB / 1.212 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000741/0.5355, allocations: 254.6 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008088/0.5363, allocations: 0.7992 MB / 1.213 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003056/0.5366, allocations: 165.5 kB / 1.214 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009676/0.5376, allocations: 422.4 kB / 1.214 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.5379, allocations: 203.2 kB / 1.214 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.5379, allocations: 8 kB / 1.214 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.5381, allocations: 75.88 kB / 1.214 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.5382, allocations: 83.72 kB / 1.214 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.5383, allocations: 111.4 kB / 1.214 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.5387, allocations: 283.1 kB / 1.215 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.5387, allocations: 0 / 1.215 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5387, allocations: 4 kB / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.5387, allocations: 0 / 1.215 GB, free: 1.84 MB / 0.9669 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.0008562/0.5396, allocations: 0.5334 MB / 1.215 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.5396, allocations: 8.031 kB / 1.215 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.998e-05/0.5397, allocations: 31.66 kB / 1.215 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.5401, allocations: 275.3 kB / 1.215 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.5401, allocations: 12 kB / 1.215 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.5402, allocations: 24 kB / 1.216 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.5406, allocations: 253.9 kB / 1.216 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.5406, allocations: 4 kB / 1.216 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/0.5407, allocations: 15.92 kB / 1.216 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.5407, allocations: 4 kB / 1.216 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.5411, allocations: 149.8 kB / 1.216 GB, free: 432 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.5424, allocations: 1.371 MB / 1.217 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.5427, allocations: 183.6 kB / 1.217 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.5429, allocations: 97.11 kB / 1.218 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003716/0.5433, allocations: 117 kB / 1.218 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.5433, allocations: 42.44 kB / 1.218 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.5433, allocations: 0 / 1.218 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006283/0.544, allocations: 213.1 kB / 1.218 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/0.5441, allocations: 184.5 kB / 1.218 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.5444, allocations: 291 kB / 1.218 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.5444, allocations: 25.7 kB / 1.218 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.5445, allocations: 151.8 kB / 1.219 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.5446, allocations: 35.45 kB / 1.219 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.5446, allocations: 33.72 kB / 1.219 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.5448, allocations: 334.8 kB / 1.219 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.5449, allocations: 43.95 kB / 1.219 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.5451, allocations: 119.6 kB / 1.219 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.5454, allocations: 154.7 kB / 1.219 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5454, allocations: 4 kB / 1.219 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003684/0.5458, allocations: 193.5 kB / 1.219 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.5458, allocations: 9.031 kB / 1.219 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.5458, allocations: 8 kB / 1.219 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5458, allocations: 4 kB / 1.219 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.546, allocations: 31.91 kB / 1.219 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.546, allocations: 4 kB / 1.219 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.5462, allocations: 35.98 kB / 1.219 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.5462, allocations: 8 kB / 1.219 GB, free: 12.45 MB / 0.9825 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.0001218/0.5463, allocations: 141.8 kB / 1.22 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.5465, allocations: 27.7 kB / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.5468, allocations: 138.9 kB / 1.22 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5468, allocations: 4 kB / 1.22 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5468, allocations: 4 kB / 1.22 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5468, allocations: 0 / 1.22 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008291/0.5477, allocations: 0.7691 MB / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5477, allocations: 0 / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.5478, allocations: 32.12 kB / 1.221 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5478, allocations: 0 / 1.221 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.5479, allocations: 4 kB / 1.221 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5479, allocations: 3.938 kB / 1.221 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5479, allocations: 7.938 kB / 1.221 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005681/0.5484, allocations: 339.3 kB / 1.221 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.427e-05/0.5486, allocations: 112.8 kB / 1.221 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.5486, allocations: 8 kB / 1.221 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.5488, allocations: 7.984 kB / 1.221 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.5488, allocations: 16.05 kB / 1.221 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.5488, allocations: 8 kB / 1.221 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001866/0.549, allocations: 209.9 kB / 1.221 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.549, allocations: 0 / 1.221 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003386/0.5494, allocations: 52 kB / 1.221 GB, free: 10.44 MB / 0.9825 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.0003312/0.5497, allocations: 151.1 kB / 1.221 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.5501, allocations: 123.8 kB / 1.222 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5501, allocations: 0 / 1.222 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.5503, allocations: 60.64 kB / 1.222 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007856/0.551, allocations: 127.8 kB / 1.222 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008444/0.5519, allocations: 0.5366 MB / 1.222 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.5522, allocations: 0.7599 MB / 1.223 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001601/0.5524, allocations: 58.48 kB / 1.223 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.5525, allocations: 23.44 kB / 1.223 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.5525, allocations: 0 / 1.223 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of Templates: time 0.007712/0.5602, allocations: 4.007 MB / 1.227 GB, free: 4.594 MB / 0.9825 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