Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007968/0.007968, allocations: 96.98 kB / 15.73 MB, free: 6.484 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.00163/0.00163, allocations: 192 kB / 16.67 MB, free: 6.391 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.972/2.972, allocations: 469.8 MB / 0.7425 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 75.81 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.333, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.9311/1.264, allocations: 161.8 MB / 1.379 GB, free: 6.887 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005836/1.27, allocations: 4.567 MB / 1.383 GB, free: 3.629 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005063/1.27, allocations: 9.156 kB / 1.383 GB, free: 3.625 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005088/1.271, allocations: 127.4 kB / 1.383 GB, free: 3.539 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001024/1.272, allocations: 344 kB / 1.384 GB, free: 3.289 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009242/1.273, allocations: 283 kB / 1.384 GB, free: 3.086 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000772/1.274, allocations: 0.549 MB / 1.384 GB, free: 2.773 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003668/1.274, allocations: 185.9 kB / 1.385 GB, free: 2.656 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/1.275, allocations: 467.7 kB / 1.385 GB, free: 2.367 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/1.275, allocations: 192.5 kB / 1.385 GB, free: 2.258 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/1.276, allocations: 15.69 kB / 1.385 GB, free: 2.258 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/1.276, allocations: 87.98 kB / 1.385 GB, free: 2.219 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/1.276, allocations: 89.12 kB / 1.385 GB, free: 2.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/1.276, allocations: 119.2 kB / 1.385 GB, free: 2.086 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004829/1.277, allocations: 297.1 kB / 1.386 GB, free: 1.898 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.277, allocations: 0 / 1.386 GB, free: 1.898 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.824e-06/1.277, allocations: 4 kB / 1.386 GB, free: 1.895 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.518e-06/1.277, allocations: 5.328 kB / 1.386 GB, free: 1.891 MB / 1.076 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.0008697/1.277, allocations: 0.5315 MB / 1.386 GB, free: 1.391 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.277, allocations: 9.781 kB / 1.386 GB, free: 1.391 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.007e-05/1.278, allocations: 32.84 kB / 1.386 GB, free: 1.371 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/1.278, allocations: 298 kB / 1.387 GB, free: 1.086 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/1.278, allocations: 12.06 kB / 1.387 GB, free: 1.082 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/1.278, allocations: 19.78 kB / 1.387 GB, free: 1.074 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/1.278, allocations: 265.3 kB / 1.387 GB, free: 0.8594 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.278, allocations: 4.969 kB / 1.387 GB, free: 0.8555 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/1.278, allocations: 11.47 kB / 1.387 GB, free: 0.8477 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/1.279, allocations: 3.906 kB / 1.387 GB, free: 0.8477 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003782/1.279, allocations: 150.1 kB / 1.387 GB, free: 0.7773 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/1.28, allocations: 1.374 MB / 1.388 GB, free: 15.46 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/1.281, allocations: 178.3 kB / 1.389 GB, free: 15.27 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/1.281, allocations: 90.02 kB / 1.389 GB, free: 15.2 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003772/1.281, allocations: 119.8 kB / 1.389 GB, free: 15.09 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/1.281, allocations: 46.34 kB / 1.389 GB, free: 15.04 MB / 1.092 GB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/1.281, allocations: 0 / 1.389 GB, free: 15.04 MB / 1.092 GB Notification: Performance of matching and sorting (n=10): time 0.0006398/1.282, allocations: 214.6 kB / 1.389 GB, free: 14.91 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/1.282, allocations: 183.1 kB / 1.389 GB, free: 14.69 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/1.282, allocations: 293 kB / 1.389 GB, free: 14.5 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/1.282, allocations: 27.17 kB / 1.389 GB, free: 14.47 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/1.282, allocations: 148.7 kB / 1.39 GB, free: 14.34 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/1.282, allocations: 36.38 kB / 1.39 GB, free: 14.3 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-05/1.282, allocations: 35.52 kB / 1.39 GB, free: 14.28 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.283, allocations: 331.8 kB / 1.39 GB, free: 13.95 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/1.283, allocations: 44.94 kB / 1.39 GB, free: 13.93 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/1.283, allocations: 123.3 kB / 1.39 GB, free: 13.82 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/1.283, allocations: 152.3 kB / 1.39 GB, free: 13.7 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.283, allocations: 0 / 1.39 GB, free: 13.7 MB / 1.092 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003905/1.284, allocations: 196.4 kB / 1.39 GB, free: 13.59 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/1.284, allocations: 9.875 kB / 1.39 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/1.284, allocations: 1.094 kB / 1.39 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/1.284, allocations: 3.375 kB / 1.391 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/1.284, allocations: 35.2 kB / 1.391 GB, free: 13.57 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.284, allocations: 2.656 kB / 1.391 GB, free: 13.57 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/1.284, allocations: 31.72 kB / 1.391 GB, free: 13.55 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/1.284, allocations: 15.67 kB / 1.391 GB, free: 13.55 MB / 1.092 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.0001286/1.284, allocations: 150.7 kB / 1.391 GB, free: 13.41 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/1.284, allocations: 31.28 kB / 1.391 GB, free: 13.39 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/1.285, allocations: 127.8 kB / 1.391 GB, free: 13.3 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/1.285, allocations: 6.797 kB / 1.391 GB, free: 13.29 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.285, allocations: 1.812 kB / 1.391 GB, free: 13.29 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/1.285, allocations: 9.297 kB / 1.391 GB, free: 13.29 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008933/1.286, allocations: 0.7721 MB / 1.392 GB, free: 12.52 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.286, allocations: 1.125 kB / 1.392 GB, free: 12.52 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/1.286, allocations: 22.27 kB / 1.392 GB, free: 12.52 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.286, allocations: 5.312 kB / 1.392 GB, free: 12.52 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/1.286, allocations: 5.406 kB / 1.392 GB, free: 12.52 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/1.286, allocations: 6.922 kB / 1.392 GB, free: 12.51 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.286, allocations: 1.438 kB / 1.392 GB, free: 12.51 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005342/1.286, allocations: 344.6 kB / 1.392 GB, free: 12.24 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 9.522e-05/1.286, allocations: 115.3 kB / 1.392 GB, free: 12.12 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/1.286, allocations: 2.688 kB / 1.392 GB, free: 12.12 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/1.287, allocations: 8.625 kB / 1.392 GB, free: 12.11 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/1.287, allocations: 17.55 kB / 1.392 GB, free: 12.1 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/1.287, allocations: 3 kB / 1.392 GB, free: 12.1 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00021/1.287, allocations: 210.1 kB / 1.392 GB, free: 11.96 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.287, allocations: 0 / 1.392 GB, free: 11.96 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003689/1.287, allocations: 57.52 kB / 1.392 GB, free: 11.95 MB / 1.092 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.0003969/1.288, allocations: 150.6 kB / 1.393 GB, free: 11.84 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0003858/1.288, allocations: 121.3 kB / 1.393 GB, free: 11.79 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.288, allocations: 0 / 1.393 GB, free: 11.79 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/1.288, allocations: 51.66 kB / 1.393 GB, free: 11.77 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007444/1.289, allocations: 130.6 kB / 1.393 GB, free: 11.7 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/1.29, allocations: 497.8 kB / 1.393 GB, free: 11.33 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/1.29, allocations: 0.754 MB / 1.394 GB, free: 10.6 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000171/1.29, allocations: 59.14 kB / 1.394 GB, free: 10.57 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/1.291, allocations: 22.03 kB / 1.394 GB, free: 10.56 MB / 1.092 GB Notification: Performance of SimCode: time 5.41e-07/1.291, allocations: 0 / 1.394 GB, free: 10.56 MB / 1.092 GB Notification: Performance of Templates: time 0.01088/1.301, allocations: 4.256 MB / 1.398 GB, free: 8.457 MB / 1.092 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches