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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001775/0.001775, allocations: 102.9 kB / 16.27 MB, free: 6.406 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.001933/0.001934, allocations: 192.6 kB / 17.2 MB, free: 5.973 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.773/2.773, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.75 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7474/0.7494, allocations: 162.2 MB / 1.083 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2045/0.954, allocations: 161.4 MB / 1.24 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006252/0.9603, allocations: 4.551 MB / 1.245 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003925/0.9607, allocations: 7.938 kB / 1.245 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005288/0.9614, allocations: 131.1 kB / 1.245 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0009686/0.9623, allocations: 322.4 kB / 1.245 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000847/0.9632, allocations: 286.5 kB / 1.246 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007581/0.964, allocations: 0.5495 MB / 1.246 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003976/0.9644, allocations: 209 kB / 1.246 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.966, allocations: 0.6421 MB / 1.247 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/0.9664, allocations: 187.3 kB / 1.247 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.815e-05/0.9664, allocations: 16 kB / 1.247 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.9666, allocations: 79.94 kB / 1.247 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.9668, allocations: 83.73 kB / 1.247 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.967, allocations: 127.3 kB / 1.247 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004401/0.9674, allocations: 291.1 kB / 1.248 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9674, allocations: 0 / 1.248 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9674, allocations: 0 / 1.248 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.9674, allocations: 0 / 1.248 GB, free: 5.543 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.0008926/0.9683, allocations: 0.5295 MB / 1.248 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.9684, allocations: 8.031 kB / 1.248 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.526e-05/0.9685, allocations: 27.66 kB / 1.248 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.9689, allocations: 275.3 kB / 1.249 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.9689, allocations: 16 kB / 1.249 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.9689, allocations: 20 kB / 1.249 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004568/0.9694, allocations: 265.8 kB / 1.249 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.9694, allocations: 4 kB / 1.249 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.9695, allocations: 11.94 kB / 1.249 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.9695, allocations: 8 kB / 1.249 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003712/0.9699, allocations: 159.7 kB / 1.249 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.9713, allocations: 1.371 MB / 1.25 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.9716, allocations: 183.7 kB / 1.251 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.9718, allocations: 97.11 kB / 1.251 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003627/0.9722, allocations: 113.1 kB / 1.251 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.9723, allocations: 46.42 kB / 1.251 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.9723, allocations: 4 kB / 1.251 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0006444/0.9729, allocations: 205.2 kB / 1.251 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.973, allocations: 183.9 kB / 1.251 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.9733, allocations: 291.6 kB / 1.251 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.9734, allocations: 29.7 kB / 1.251 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.9735, allocations: 143.9 kB / 1.252 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.9736, allocations: 39.52 kB / 1.252 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.463e-05/0.9736, allocations: 41.66 kB / 1.252 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.9738, allocations: 330.8 kB / 1.252 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.9739, allocations: 47.95 kB / 1.252 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.9741, allocations: 115.7 kB / 1.252 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.9744, allocations: 158.7 kB / 1.252 GB, free: 436 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.9745, allocations: 7.938 kB / 1.252 GB, free: 428 kB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003873/0.9749, allocations: 185.2 kB / 1.253 GB, free: 236 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.9749, allocations: 7.938 kB / 1.253 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.9749, allocations: 4 kB / 1.253 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.9749, allocations: 0 / 1.253 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.9751, allocations: 35.97 kB / 1.253 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.9751, allocations: 11.92 kB / 1.253 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.9753, allocations: 27.73 kB / 1.253 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.9753, allocations: 8.188 kB / 1.253 GB, free: 140 kB / 0.9669 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.0001485/0.9755, allocations: 145.8 kB / 1.253 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.9756, allocations: 27.97 kB / 1.253 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.976, allocations: 142.9 kB / 1.253 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.976, allocations: 48 / 1.253 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.976, allocations: 7.984 kB / 1.253 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.976, allocations: 3.938 kB / 1.253 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009193/0.9769, allocations: 0.7691 MB / 1.254 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.9769, allocations: 0 / 1.254 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.9771, allocations: 27.92 kB / 1.254 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.9771, allocations: 0 / 1.254 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.9771, allocations: 8.156 kB / 1.254 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.9771, allocations: 0 / 1.254 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.9771, allocations: 4 kB / 1.254 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005821/0.9777, allocations: 339.3 kB / 1.254 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.9778, allocations: 108.8 kB / 1.254 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.9779, allocations: 3.938 kB / 1.254 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.978, allocations: 15.98 kB / 1.254 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.9781, allocations: 11.92 kB / 1.254 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.9781, allocations: 4.062 kB / 1.254 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002235/0.9783, allocations: 213.9 kB / 1.254 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9783, allocations: 0 / 1.254 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003543/0.9787, allocations: 51.94 kB / 1.254 GB, free: 14.13 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.000404/0.9791, allocations: 151.5 kB / 1.255 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004091/0.9795, allocations: 127.7 kB / 1.255 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9795, allocations: 0 / 1.255 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.9797, allocations: 60.08 kB / 1.255 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007735/0.9805, allocations: 128.8 kB / 1.255 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009878/0.9815, allocations: 0.5174 MB / 1.255 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.9819, allocations: 0.7597 MB / 1.256 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.982, allocations: 23.44 kB / 1.256 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of SimCode: time 6.51e-07/0.982, allocations: 0 / 1.256 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of Templates: time 0.007324/0.9893, allocations: 3.782 MB / 1.26 GB, free: 8.559 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches