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.001259/0.001258, allocations: 110.3 kB / 16.41 MB, free: 6.453 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.001357/0.001358, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.592/1.592, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.321/3.321, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001399, allocations: 72.09 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7282/0.7296, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.161/0.8907, allocations: 161.4 MB / 1.366 GB, free: 11.61 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005527/0.8963, allocations: 4.547 MB / 1.37 GB, free: 7.059 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003536/0.8967, allocations: 11.94 kB / 1.37 GB, free: 7.047 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0004509/0.8971, allocations: 123 kB / 1.371 GB, free: 6.926 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0009595/0.8981, allocations: 338.4 kB / 1.371 GB, free: 6.594 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008129/0.899, allocations: 277.8 kB / 1.371 GB, free: 6.324 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0006991/0.8997, allocations: 0.5495 MB / 1.372 GB, free: 5.773 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003579/0.9, allocations: 209.2 kB / 1.372 GB, free: 5.566 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009745/0.901, allocations: 466.1 kB / 1.372 GB, free: 5.109 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.9013, allocations: 183.3 kB / 1.373 GB, free: 4.93 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.9014, allocations: 20 kB / 1.373 GB, free: 4.91 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.9016, allocations: 87.88 kB / 1.373 GB, free: 4.824 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.9017, allocations: 83.77 kB / 1.373 GB, free: 4.742 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.9019, allocations: 119.4 kB / 1.373 GB, free: 4.625 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.9023, allocations: 293 kB / 1.373 GB, free: 4.34 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.9023, allocations: 0 / 1.373 GB, free: 4.34 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9023, allocations: 0 / 1.373 GB, free: 4.34 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.9023, allocations: 0 / 1.373 GB, free: 4.34 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.0008414/0.9032, allocations: 0.5372 MB / 1.374 GB, free: 3.754 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.9032, allocations: 12.03 kB / 1.374 GB, free: 3.742 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.727e-05/0.9033, allocations: 31.66 kB / 1.374 GB, free: 3.711 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.9037, allocations: 279.4 kB / 1.374 GB, free: 3.398 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.9037, allocations: 15.94 kB / 1.374 GB, free: 3.383 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.865e-05/0.9038, allocations: 24 kB / 1.374 GB, free: 3.359 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/0.9042, allocations: 261.6 kB / 1.374 GB, free: 3.066 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.9043, allocations: 11.94 kB / 1.374 GB, free: 3.055 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.9043, allocations: 7.938 kB / 1.374 GB, free: 3.047 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.9043, allocations: 8 kB / 1.374 GB, free: 3.039 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/0.9047, allocations: 151.8 kB / 1.374 GB, free: 2.891 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.906, allocations: 1.363 MB / 1.376 GB, free: 1.438 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.9063, allocations: 191.7 kB / 1.376 GB, free: 1.195 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.9065, allocations: 93.05 kB / 1.376 GB, free: 1.086 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003907/0.9069, allocations: 121.1 kB / 1.376 GB, free: 0.9492 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.907, allocations: 38.5 kB / 1.376 GB, free: 0.9023 MB / 1.092 GB Notification: Performance of pre-optimization done (n=10): time 2.164e-06/0.907, allocations: 3.938 kB / 1.376 GB, free: 0.8984 MB / 1.092 GB Notification: Performance of matching and sorting (n=10): time 0.0006484/0.9076, allocations: 209.6 kB / 1.376 GB, free: 0.6875 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.9077, allocations: 179.9 kB / 1.377 GB, free: 480 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.908, allocations: 291 kB / 1.377 GB, free: 176 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.908, allocations: 25.7 kB / 1.377 GB, free: 144 kB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.9082, allocations: 151.9 kB / 1.377 GB, free: 15.98 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.9082, allocations: 43.55 kB / 1.377 GB, free: 15.94 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.531e-05/0.9083, allocations: 37.7 kB / 1.377 GB, free: 15.9 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.9084, allocations: 334.8 kB / 1.377 GB, free: 15.56 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.9085, allocations: 47.81 kB / 1.377 GB, free: 15.52 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.9087, allocations: 115.7 kB / 1.378 GB, free: 15.38 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.909, allocations: 162.9 kB / 1.378 GB, free: 15.2 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.909, allocations: 0 / 1.378 GB, free: 15.2 MB / 1.107 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003775/0.9094, allocations: 185.2 kB / 1.378 GB, free: 15.01 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.9095, allocations: 12.16 kB / 1.378 GB, free: 15 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.9095, allocations: 4 kB / 1.378 GB, free: 14.99 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.9095, allocations: 4 kB / 1.378 GB, free: 14.99 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.9096, allocations: 31.92 kB / 1.378 GB, free: 14.96 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.9097, allocations: 0 / 1.378 GB, free: 14.96 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.9098, allocations: 31.73 kB / 1.378 GB, free: 14.93 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.9099, allocations: 8 kB / 1.378 GB, free: 14.92 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.000145/0.91, allocations: 149.7 kB / 1.378 GB, free: 14.76 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.9102, allocations: 31.66 kB / 1.378 GB, free: 14.73 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.9105, allocations: 127 kB / 1.378 GB, free: 14.59 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.9105, allocations: 3.938 kB / 1.378 GB, free: 14.59 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.9105, allocations: 4 kB / 1.378 GB, free: 14.59 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.313e-05/0.9106, allocations: 104.8 kB / 1.378 GB, free: 14.46 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.9107, allocations: 11.98 kB / 1.378 GB, free: 14.45 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.911, allocations: 4 kB / 1.378 GB, free: 14.45 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.911, allocations: 23.86 kB / 1.378 GB, free: 14.43 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005397/0.9116, allocations: 0.6028 MB / 1.379 GB, free: 13.81 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006645/0.9122, allocations: 0.7451 MB / 1.38 GB, free: 13.05 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001487/0.9124, allocations: 63.92 kB / 1.38 GB, free: 12.98 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001912/0.9126, allocations: 213.9 kB / 1.38 GB, free: 12.78 MB / 1.107 GB Notification: Performance of Backend: time 4.81e-07/0.9126, allocations: 0 / 1.38 GB, free: 12.78 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.9137, allocations: 198.4 kB / 1.38 GB, free: 12.59 MB / 1.107 GB Notification: Performance of SimCode: time 0.001378/0.9151, allocations: 0.9902 MB / 1.381 GB, free: 11.55 MB / 1.107 GB Notification: Performance of Templates: time 0.008823/0.924, allocations: 4.555 MB / 1.386 GB, free: 7.066 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/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