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.001515/0.001515, allocations: 118.9 kB / 16.42 MB, free: 6.492 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.001642/0.001642, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.635/2.635, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.91 kB / 1.07 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6934/0.6947, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1596/0.8544, allocations: 161.4 MB / 1.384 GB, free: 11.57 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.00525/0.8597, allocations: 4.556 MB / 1.388 GB, free: 7.008 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003091/0.86, allocations: 7.938 kB / 1.388 GB, free: 7 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004345/0.8605, allocations: 127 kB / 1.389 GB, free: 6.875 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0008346/0.8614, allocations: 350.4 kB / 1.389 GB, free: 6.531 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007276/0.8621, allocations: 278.5 kB / 1.389 GB, free: 6.262 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0006588/0.8628, allocations: 0.5535 MB / 1.39 GB, free: 5.707 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003705/0.8631, allocations: 213.1 kB / 1.39 GB, free: 5.5 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009186/0.8641, allocations: 466.2 kB / 1.39 GB, free: 5.043 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.8644, allocations: 191.2 kB / 1.39 GB, free: 4.855 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.8644, allocations: 16 kB / 1.39 GB, free: 4.84 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.8646, allocations: 83.92 kB / 1.391 GB, free: 4.758 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.8647, allocations: 91.72 kB / 1.391 GB, free: 4.668 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.8649, allocations: 123.4 kB / 1.391 GB, free: 4.547 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.8652, allocations: 291.6 kB / 1.391 GB, free: 4.266 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.8652, allocations: 0 / 1.391 GB, free: 4.266 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8653, allocations: 0 / 1.391 GB, free: 4.266 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.8653, allocations: 0 / 1.391 GB, free: 4.266 MB / 1.107 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.0007733/0.866, allocations: 0.537 MB / 1.392 GB, free: 3.68 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.8661, allocations: 11.97 kB / 1.392 GB, free: 3.668 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.465e-05/0.8662, allocations: 31.75 kB / 1.392 GB, free: 3.637 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.8665, allocations: 295.4 kB / 1.392 GB, free: 3.309 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.8666, allocations: 20 kB / 1.392 GB, free: 3.289 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.8666, allocations: 16 kB / 1.392 GB, free: 3.273 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.8671, allocations: 261.9 kB / 1.392 GB, free: 2.98 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.8671, allocations: 0 / 1.392 GB, free: 2.98 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.8671, allocations: 15.94 kB / 1.392 GB, free: 2.965 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.8671, allocations: 4 kB / 1.392 GB, free: 2.961 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.8675, allocations: 155.7 kB / 1.392 GB, free: 2.809 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.8687, allocations: 1.364 MB / 1.394 GB, free: 1.352 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.869, allocations: 187.7 kB / 1.394 GB, free: 1.113 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.8692, allocations: 97.11 kB / 1.394 GB, free: 1 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003423/0.8695, allocations: 117 kB / 1.394 GB, free: 0.8672 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.8696, allocations: 46.44 kB / 1.394 GB, free: 0.8125 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.8696, allocations: 0 / 1.394 GB, free: 0.8125 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0005922/0.8702, allocations: 209.8 kB / 1.394 GB, free: 0.6016 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.8702, allocations: 184 kB / 1.394 GB, free: 388 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.8705, allocations: 291 kB / 1.395 GB, free: 88 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.8705, allocations: 25.7 kB / 1.395 GB, free: 56 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.8707, allocations: 147.9 kB / 1.395 GB, free: 15.91 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.8707, allocations: 35.69 kB / 1.395 GB, free: 15.87 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.8708, allocations: 41.7 kB / 1.395 GB, free: 15.82 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.8709, allocations: 334.8 kB / 1.395 GB, free: 15.49 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.871, allocations: 43.97 kB / 1.395 GB, free: 15.45 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.8712, allocations: 128.3 kB / 1.395 GB, free: 15.29 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.8715, allocations: 150.8 kB / 1.396 GB, free: 15.12 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8715, allocations: 4 kB / 1.396 GB, free: 15.12 MB / 1.123 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003741/0.8719, allocations: 193.2 kB / 1.396 GB, free: 14.92 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.8719, allocations: 7.938 kB / 1.396 GB, free: 14.91 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.872, allocations: 11.92 kB / 1.396 GB, free: 14.9 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.872, allocations: 0 / 1.396 GB, free: 14.9 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.8721, allocations: 40.14 kB / 1.396 GB, free: 14.86 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.8721, allocations: 4 kB / 1.396 GB, free: 14.86 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.8723, allocations: 23.88 kB / 1.396 GB, free: 14.84 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.8723, allocations: 4.312 kB / 1.396 GB, free: 14.83 MB / 1.123 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.0001273/0.8725, allocations: 157.7 kB / 1.396 GB, free: 14.67 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.8726, allocations: 31.75 kB / 1.396 GB, free: 14.64 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.8729, allocations: 135 kB / 1.396 GB, free: 14.49 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.873, allocations: 0 / 1.396 GB, free: 14.49 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.873, allocations: 0 / 1.396 GB, free: 14.49 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.8731, allocations: 116.9 kB / 1.396 GB, free: 14.36 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.8731, allocations: 4 kB / 1.396 GB, free: 14.36 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.8734, allocations: 8 kB / 1.396 GB, free: 14.35 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.8735, allocations: 11.92 kB / 1.396 GB, free: 14.34 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005736/0.8741, allocations: 0.6143 MB / 1.397 GB, free: 13.71 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006941/0.8748, allocations: 0.7491 MB / 1.398 GB, free: 12.94 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001624/0.8749, allocations: 59.95 kB / 1.398 GB, free: 12.88 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002142/0.8752, allocations: 213.9 kB / 1.398 GB, free: 12.67 MB / 1.123 GB Notification: Performance of Backend: time 6.82e-07/0.8752, allocations: 0 / 1.398 GB, free: 12.67 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.8763, allocations: 192.6 kB / 1.398 GB, free: 12.49 MB / 1.123 GB Notification: Performance of SimCode: time 0.001237/0.8776, allocations: 1.009 MB / 1.399 GB, free: 11.43 MB / 1.123 GB Notification: Performance of Templates: time 0.008468/0.8861, allocations: 4.458 MB / 1.403 GB, free: 7.035 MB / 1.123 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