Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.008204/0.008204, allocations: 97.27 kB / 15.73 MB, free: 6.047 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.001837/0.001837, allocations: 194.5 kB / 16.68 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.726/2.726, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.91 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3193, allocations: 151.6 MB / 1.167 GB, free: 6.754 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.8907/1.21, allocations: 161.4 MB / 1.324 GB, free: 7.652 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006073/1.216, allocations: 4.544 MB / 1.329 GB, free: 4.477 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005564/1.217, allocations: 14 kB / 1.329 GB, free: 4.469 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004819/1.217, allocations: 125.3 kB / 1.329 GB, free: 4.383 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0009144/1.218, allocations: 344.8 kB / 1.329 GB, free: 4.199 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009007/1.219, allocations: 281.5 kB / 1.329 GB, free: 4.062 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000873/1.22, allocations: 0.5525 MB / 1.33 GB, free: 3.824 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003973/1.22, allocations: 205.2 kB / 1.33 GB, free: 3.738 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/1.222, allocations: 473 kB / 1.331 GB, free: 3.527 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/1.222, allocations: 189.8 kB / 1.331 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/1.222, allocations: 20.97 kB / 1.331 GB, free: 3.445 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/1.222, allocations: 76.22 kB / 1.331 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/1.222, allocations: 92.47 kB / 1.331 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/1.222, allocations: 121.4 kB / 1.331 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004688/1.223, allocations: 298.8 kB / 1.331 GB, free: 3.215 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/1.223, allocations: 0 / 1.331 GB, free: 3.215 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.164e-06/1.223, allocations: 1.438 kB / 1.331 GB, free: 3.215 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.842e-06/1.223, allocations: 0 / 1.331 GB, free: 3.215 MB / 1.014 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.0008789/1.224, allocations: 0.5418 MB / 1.332 GB, free: 2.734 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/1.224, allocations: 10.38 kB / 1.332 GB, free: 2.734 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/1.224, allocations: 33 kB / 1.332 GB, free: 2.715 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/1.224, allocations: 289.4 kB / 1.332 GB, free: 2.465 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/1.224, allocations: 20.44 kB / 1.332 GB, free: 2.453 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.805e-05/1.225, allocations: 16.09 kB / 1.332 GB, free: 2.449 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/1.225, allocations: 264.9 kB / 1.332 GB, free: 2.273 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.225, allocations: 1 kB / 1.332 GB, free: 2.273 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/1.225, allocations: 14.66 kB / 1.332 GB, free: 2.262 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/1.225, allocations: 3.969 kB / 1.332 GB, free: 2.262 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003498/1.225, allocations: 143.4 kB / 1.333 GB, free: 2.223 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/1.227, allocations: 1.375 MB / 1.334 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/1.227, allocations: 182 kB / 1.334 GB, free: 0.832 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/1.227, allocations: 93.14 kB / 1.334 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003446/1.228, allocations: 119.5 kB / 1.334 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/1.228, allocations: 41.09 kB / 1.334 GB, free: 0.625 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/1.228, allocations: 0 / 1.334 GB, free: 0.625 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006267/1.228, allocations: 217.7 kB / 1.335 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.804e-05/1.228, allocations: 189.3 kB / 1.335 GB, free: 312 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/1.229, allocations: 285.5 kB / 1.335 GB, free: 160 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/1.229, allocations: 31.8 kB / 1.335 GB, free: 124 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/1.229, allocations: 150.8 kB / 1.335 GB, free: 15.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/1.229, allocations: 38.44 kB / 1.335 GB, free: 15.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/1.229, allocations: 38.78 kB / 1.335 GB, free: 15.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.229, allocations: 333.4 kB / 1.336 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/1.229, allocations: 46.95 kB / 1.336 GB, free: 15.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/1.229, allocations: 115.5 kB / 1.336 GB, free: 15.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/1.23, allocations: 154.4 kB / 1.336 GB, free: 15.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/1.23, allocations: 0 / 1.336 GB, free: 15.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003696/1.23, allocations: 188.9 kB / 1.336 GB, free: 15.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.23, allocations: 16.81 kB / 1.336 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/1.23, allocations: 1.219 kB / 1.336 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/1.23, allocations: 3.984 kB / 1.336 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/1.23, allocations: 33.45 kB / 1.336 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/1.23, allocations: 3.219 kB / 1.336 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/1.23, allocations: 32.56 kB / 1.336 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/1.23, allocations: 8.969 kB / 1.336 GB, free: 15.29 MB / 1.029 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.000129/1.231, allocations: 142.7 kB / 1.336 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/1.231, allocations: 42.2 kB / 1.336 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/1.231, allocations: 135 kB / 1.336 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.231, allocations: 2.25 kB / 1.336 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.231, allocations: 2.688 kB / 1.336 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.231, allocations: 2.188 kB / 1.336 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008696/1.232, allocations: 0.7699 MB / 1.337 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.232, allocations: 5.453 kB / 1.337 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/1.232, allocations: 23.05 kB / 1.337 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/1.232, allocations: 3.109 kB / 1.337 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/1.232, allocations: 6.219 kB / 1.337 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.232, allocations: 2.469 kB / 1.337 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.232, allocations: 1.906 kB / 1.337 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005202/1.233, allocations: 345 kB / 1.338 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/1.233, allocations: 117.1 kB / 1.338 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/1.233, allocations: 3.469 kB / 1.338 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/1.233, allocations: 15.86 kB / 1.338 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/1.233, allocations: 15.75 kB / 1.338 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/1.233, allocations: 4.688 kB / 1.338 GB, free: 13.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002092/1.233, allocations: 208.4 kB / 1.338 GB, free: 13.85 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/1.233, allocations: 1.219 kB / 1.338 GB, free: 13.85 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003842/1.234, allocations: 57.19 kB / 1.338 GB, free: 13.84 MB / 1.029 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.0003613/1.234, allocations: 132.1 kB / 1.338 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003738/1.234, allocations: 128.7 kB / 1.338 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.234, allocations: 3.938 kB / 1.338 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/1.235, allocations: 59.62 kB / 1.338 GB, free: 13.69 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007383/1.235, allocations: 131.6 kB / 1.338 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009453/1.236, allocations: 488.6 kB / 1.339 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/1.237, allocations: 0.7574 MB / 1.34 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001427/1.237, allocations: 57.42 kB / 1.34 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/1.237, allocations: 20.56 kB / 1.34 GB, free: 12.59 MB / 1.029 GB Notification: Performance of SimCode: time 2.154e-06/1.237, allocations: 1.469 kB / 1.34 GB, free: 12.59 MB / 1.029 GB Notification: Performance of Templates: time 0.008667/1.246, allocations: 4.249 MB / 1.344 GB, free: 12.29 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches