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.009699/0.009699, allocations: 97.61 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.001982/0.001982, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.408/1.408, 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.711/2.711, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.91 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3515, allocations: 151.6 MB / 1.167 GB, free: 6.762 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.9014/1.253, allocations: 161.4 MB / 1.324 GB, free: 7.641 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00584/1.259, allocations: 4.538 MB / 1.329 GB, free: 4.484 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004585/1.259, allocations: 10.28 kB / 1.329 GB, free: 4.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004687/1.26, allocations: 129.2 kB / 1.329 GB, free: 4.391 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0008851/1.261, allocations: 321.9 kB / 1.329 GB, free: 4.223 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008697/1.262, allocations: 290.9 kB / 1.329 GB, free: 4.078 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007397/1.262, allocations: 0.5508 MB / 1.33 GB, free: 3.84 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003538/1.263, allocations: 199.9 kB / 1.33 GB, free: 3.758 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/1.264, allocations: 462.9 kB / 1.331 GB, free: 3.551 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/1.264, allocations: 190.1 kB / 1.331 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/1.264, allocations: 20.92 kB / 1.331 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/1.264, allocations: 77.36 kB / 1.331 GB, free: 3.457 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/1.264, allocations: 82.91 kB / 1.331 GB, free: 3.426 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/1.265, allocations: 134 kB / 1.331 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004676/1.265, allocations: 294.2 kB / 1.331 GB, free: 3.238 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.265, allocations: 1.5 kB / 1.331 GB, free: 3.238 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/1.265, allocations: 3.938 kB / 1.331 GB, free: 3.234 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.753e-06/1.265, allocations: 0 / 1.331 GB, free: 3.234 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.000896/1.266, allocations: 0.5419 MB / 1.332 GB, free: 2.754 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/1.266, allocations: 9.438 kB / 1.332 GB, free: 2.754 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/1.266, allocations: 33.97 kB / 1.332 GB, free: 2.734 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/1.267, allocations: 290 kB / 1.332 GB, free: 2.484 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/1.267, allocations: 12.44 kB / 1.332 GB, free: 2.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/1.267, allocations: 24.44 kB / 1.332 GB, free: 2.469 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004946/1.267, allocations: 263.3 kB / 1.332 GB, free: 2.297 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.267, allocations: 1.344 kB / 1.332 GB, free: 2.297 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/1.267, allocations: 10.09 kB / 1.332 GB, free: 2.289 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/1.267, allocations: 5.469 kB / 1.332 GB, free: 2.289 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003546/1.268, allocations: 160.2 kB / 1.333 GB, free: 2.234 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/1.269, allocations: 1.371 MB / 1.334 GB, free: 1.023 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/1.269, allocations: 177.2 kB / 1.334 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/1.269, allocations: 96.59 kB / 1.334 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003358/1.27, allocations: 118.1 kB / 1.334 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/1.27, allocations: 41.22 kB / 1.334 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/1.27, allocations: 0 / 1.334 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006198/1.27, allocations: 215.4 kB / 1.335 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.523e-05/1.271, allocations: 181.1 kB / 1.335 GB, free: 336 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/1.271, allocations: 288 kB / 1.335 GB, free: 180 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/1.271, allocations: 27.3 kB / 1.335 GB, free: 148 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/1.271, allocations: 153.5 kB / 1.335 GB, free: 12 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.131e-05/1.271, allocations: 38.2 kB / 1.335 GB, free: 15.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.116e-05/1.271, allocations: 36.56 kB / 1.335 GB, free: 15.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.271, allocations: 339.7 kB / 1.336 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/1.272, allocations: 41.17 kB / 1.336 GB, free: 15.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/1.272, allocations: 115.8 kB / 1.336 GB, free: 15.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/1.272, allocations: 162 kB / 1.336 GB, free: 15.42 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.272, allocations: 1.281 kB / 1.336 GB, free: 15.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004019/1.272, allocations: 184.3 kB / 1.336 GB, free: 15.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.272, allocations: 10.44 kB / 1.336 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/1.272, allocations: 1.312 kB / 1.336 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.273, allocations: 2.938 kB / 1.336 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/1.273, allocations: 37.91 kB / 1.336 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/1.273, allocations: 2.5 kB / 1.336 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/1.273, allocations: 34.69 kB / 1.336 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/1.273, allocations: 7.969 kB / 1.336 GB, free: 15.31 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.0001398/1.273, allocations: 147.5 kB / 1.336 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/1.273, allocations: 33.56 kB / 1.336 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/1.274, allocations: 135.1 kB / 1.336 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/1.274, allocations: 2.609 kB / 1.336 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.274, allocations: 9.297 kB / 1.336 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.274, allocations: 3.625 kB / 1.336 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008314/1.274, allocations: 0.7748 MB / 1.337 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.274, allocations: 1.125 kB / 1.337 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/1.275, allocations: 20.86 kB / 1.337 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.275, allocations: 4.422 kB / 1.337 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/1.275, allocations: 6.5 kB / 1.337 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.275, allocations: 6.531 kB / 1.337 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.275, allocations: 1.219 kB / 1.337 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005244/1.275, allocations: 337.2 kB / 1.338 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.994e-05/1.275, allocations: 111.8 kB / 1.338 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/1.275, allocations: 6.719 kB / 1.338 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/1.275, allocations: 11.89 kB / 1.338 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/1.275, allocations: 15.62 kB / 1.338 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/1.275, allocations: 4.844 kB / 1.338 GB, free: 13.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002068/1.276, allocations: 208.4 kB / 1.338 GB, free: 13.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/1.276, allocations: 0 / 1.338 GB, free: 13.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003568/1.276, allocations: 54.78 kB / 1.338 GB, free: 13.87 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.0003386/1.276, allocations: 148.4 kB / 1.338 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003619/1.277, allocations: 124.5 kB / 1.338 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.277, allocations: 96 / 1.338 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/1.277, allocations: 69.83 kB / 1.338 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007477/1.278, allocations: 128.9 kB / 1.338 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008152/1.279, allocations: 480.9 kB / 1.339 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/1.279, allocations: 0.7614 MB / 1.34 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001437/1.279, allocations: 56.89 kB / 1.34 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/1.279, allocations: 29.62 kB / 1.34 GB, free: 12.61 MB / 1.029 GB Notification: Performance of SimCode: time 2.61e-07/1.279, allocations: 0 / 1.34 GB, free: 12.61 MB / 1.029 GB Notification: Performance of Templates: time 0.009405/1.289, allocations: 4.239 MB / 1.344 GB, free: 12.32 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