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.001619/0.001619, allocations: 105.6 kB / 15.98 MB, free: 6.352 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.001537/0.001537, allocations: 198 kB / 16.91 MB, free: 6.199 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.393/1.393, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.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.501/2.501, allocations: 437.1 MB / 0.7107 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001905, allocations: 72.14 kB / 0.8694 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3344, allocations: 151.6 MB / 1.017 GB, free: 11.05 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.7772/1.112, allocations: 159.2 MB / 1.173 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006197/1.118, allocations: 4.512 MB / 1.177 GB, free: 11 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003872/1.118, allocations: 8.625 kB / 1.177 GB, free: 11 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004399/1.119, allocations: 101.8 kB / 1.177 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0008312/1.12, allocations: 320.1 kB / 1.178 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007986/1.12, allocations: 249.8 kB / 1.178 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006584/1.121, allocations: 0.5578 MB / 1.179 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003232/1.121, allocations: 199.2 kB / 1.179 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009688/1.122, allocations: 447.9 kB / 1.179 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/1.123, allocations: 197.9 kB / 1.179 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/1.123, allocations: 20.25 kB / 1.179 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/1.123, allocations: 78.53 kB / 1.179 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/1.123, allocations: 97.58 kB / 1.179 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/1.123, allocations: 116.4 kB / 1.18 GB, free: 9.906 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002958/1.123, allocations: 209.5 kB / 1.18 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.123, allocations: 1.156 kB / 1.18 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.203e-06/1.124, allocations: 0 / 1.18 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.001e-06/1.124, allocations: 0 / 1.18 GB, free: 9.809 MB / 0.8887 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.000848/1.124, allocations: 0.5367 MB / 1.18 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/1.124, allocations: 9.438 kB / 1.18 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.677e-05/1.124, allocations: 29.5 kB / 1.18 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/1.125, allocations: 279.4 kB / 1.181 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/1.125, allocations: 19.55 kB / 1.181 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/1.125, allocations: 16.91 kB / 1.181 GB, free: 9 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/1.125, allocations: 265.6 kB / 1.181 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/1.125, allocations: 0.9375 kB / 1.181 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/1.126, allocations: 14.12 kB / 1.181 GB, free: 8.773 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/1.126, allocations: 5.219 kB / 1.181 GB, free: 8.773 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/1.126, allocations: 148.4 kB / 1.181 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/1.127, allocations: 1.364 MB / 1.182 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/1.128, allocations: 183.3 kB / 1.183 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/1.128, allocations: 92.86 kB / 1.183 GB, free: 7.133 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000387/1.128, allocations: 119 kB / 1.183 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/1.128, allocations: 41.25 kB / 1.183 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/1.128, allocations: 0 / 1.183 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10): time 0.000615/1.129, allocations: 207.1 kB / 1.183 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/1.129, allocations: 190.6 kB / 1.183 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/1.129, allocations: 284.8 kB / 1.183 GB, free: 6.449 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/1.129, allocations: 31.08 kB / 1.184 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/1.13, allocations: 148.1 kB / 1.184 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/1.13, allocations: 41.27 kB / 1.184 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.891e-05/1.13, allocations: 43.36 kB / 1.184 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.13, allocations: 332.3 kB / 1.184 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/1.13, allocations: 44.72 kB / 1.184 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/1.13, allocations: 125.5 kB / 1.184 GB, free: 5.746 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/1.13, allocations: 153.6 kB / 1.184 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.13, allocations: 1.312 kB / 1.184 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003903/1.131, allocations: 193.6 kB / 1.185 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/1.131, allocations: 14.53 kB / 1.185 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.131, allocations: 2.125 kB / 1.185 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.131, allocations: 2.188 kB / 1.185 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/1.131, allocations: 36.8 kB / 1.185 GB, free: 5.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.131, allocations: 2.688 kB / 1.185 GB, free: 5.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/1.131, allocations: 23.3 kB / 1.185 GB, free: 5.488 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/1.131, allocations: 7.344 kB / 1.185 GB, free: 5.488 MB / 0.8887 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.0001598/1.132, allocations: 150.1 kB / 1.185 GB, free: 5.348 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/1.132, allocations: 36.56 kB / 1.185 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/1.132, allocations: 125.6 kB / 1.185 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/1.132, allocations: 6.625 kB / 1.185 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.132, allocations: 2.656 kB / 1.185 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.132, allocations: 1.625 kB / 1.185 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/1.133, allocations: 0.7788 MB / 1.186 GB, free: 4.469 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.133, allocations: 1.688 kB / 1.186 GB, free: 4.469 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/1.133, allocations: 25.17 kB / 1.186 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.133, allocations: 1.594 kB / 1.186 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/1.133, allocations: 2.719 kB / 1.186 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.133, allocations: 2.438 kB / 1.186 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.133, allocations: 5.344 kB / 1.186 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/1.134, allocations: 345.4 kB / 1.186 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/1.134, allocations: 107.8 kB / 1.186 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/1.134, allocations: 7.016 kB / 1.186 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/1.134, allocations: 11.31 kB / 1.186 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/1.134, allocations: 12.05 kB / 1.186 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/1.134, allocations: 4 kB / 1.186 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002164/1.134, allocations: 209.8 kB / 1.186 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/1.134, allocations: 4 kB / 1.186 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003543/1.135, allocations: 58 kB / 1.186 GB, free: 3.898 MB / 0.8887 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.0003519/1.135, allocations: 154.3 kB / 1.187 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003672/1.136, allocations: 128.8 kB / 1.187 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/1.136, allocations: 0 / 1.187 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/1.136, allocations: 57.16 kB / 1.187 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007817/1.137, allocations: 134.8 kB / 1.187 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009166/1.137, allocations: 0.5639 MB / 1.187 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/1.138, allocations: 0.7542 MB / 1.188 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/1.138, allocations: 26.03 kB / 1.188 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of SimCode: time 2.41e-07/1.138, allocations: 0 / 1.188 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of Templates: time 0.00665/1.145, allocations: 3.806 MB / 1.192 GB, free: 500 kB / 0.8887 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches