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.001477/0.001477, allocations: 110.5 kB / 16.41 MB, free: 6.5 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.001625/0.001625, allocations: 183 kB / 17.34 MB, free: 5.762 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.15 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 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 64.12 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9266/0.928, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1832/1.111, allocations: 161.4 MB / 1.325 GB, free: 1.875 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006126/1.117, allocations: 4.54 MB / 1.329 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004998/1.118, allocations: 11.94 kB / 1.329 GB, free: 13.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005632/1.119, allocations: 127.1 kB / 1.329 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001091/1.12, allocations: 350.4 kB / 1.33 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009416/1.121, allocations: 280 kB / 1.33 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008869/1.122, allocations: 0.5612 MB / 1.331 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004539/1.122, allocations: 201.2 kB / 1.331 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/1.123, allocations: 478.2 kB / 1.331 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/1.124, allocations: 191.2 kB / 1.331 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/1.124, allocations: 16 kB / 1.331 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/1.124, allocations: 75.94 kB / 1.332 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001225/1.124, allocations: 87.77 kB / 1.332 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/1.124, allocations: 119.4 kB / 1.332 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004753/1.125, allocations: 295.5 kB / 1.332 GB, free: 10.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.125, allocations: 4 kB / 1.332 GB, free: 10.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.013e-06/1.125, allocations: 3.938 kB / 1.332 GB, free: 10.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.253e-05/1.125, allocations: 4 kB / 1.332 GB, free: 10.56 MB / 1.061 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.0009528/1.126, allocations: 0.5331 MB / 1.333 GB, free: 9.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/1.126, allocations: 12.03 kB / 1.333 GB, free: 9.969 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.19e-05/1.126, allocations: 31.75 kB / 1.333 GB, free: 9.938 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/1.126, allocations: 295.3 kB / 1.333 GB, free: 9.609 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/1.126, allocations: 19.94 kB / 1.333 GB, free: 9.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/1.126, allocations: 16 kB / 1.333 GB, free: 9.574 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/1.127, allocations: 265.8 kB / 1.333 GB, free: 9.277 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.127, allocations: 0 / 1.333 GB, free: 9.277 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/1.127, allocations: 19.92 kB / 1.333 GB, free: 9.258 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/1.127, allocations: 4 kB / 1.333 GB, free: 9.254 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/1.127, allocations: 144.3 kB / 1.333 GB, free: 9.113 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/1.129, allocations: 1.368 MB / 1.335 GB, free: 7.656 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/1.129, allocations: 183.7 kB / 1.335 GB, free: 7.422 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/1.129, allocations: 101 kB / 1.335 GB, free: 7.305 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003425/1.129, allocations: 113 kB / 1.335 GB, free: 7.176 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/1.129, allocations: 50.44 kB / 1.335 GB, free: 7.117 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/1.129, allocations: 0 / 1.335 GB, free: 7.117 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0006145/1.13, allocations: 197.3 kB / 1.335 GB, free: 6.918 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.148e-05/1.13, allocations: 192.5 kB / 1.335 GB, free: 6.688 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/1.13, allocations: 291 kB / 1.336 GB, free: 6.402 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/1.13, allocations: 29.7 kB / 1.336 GB, free: 6.367 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/1.131, allocations: 152 kB / 1.336 GB, free: 6.215 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/1.131, allocations: 35.69 kB / 1.336 GB, free: 6.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/1.131, allocations: 37.7 kB / 1.336 GB, free: 6.137 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.131, allocations: 334.8 kB / 1.336 GB, free: 5.801 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/1.131, allocations: 43.97 kB / 1.336 GB, free: 5.758 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/1.131, allocations: 123.6 kB / 1.336 GB, free: 5.609 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/1.131, allocations: 150.7 kB / 1.337 GB, free: 5.438 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.131, allocations: 0 / 1.337 GB, free: 5.438 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003798/1.132, allocations: 197.5 kB / 1.337 GB, free: 5.238 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.132, allocations: 7.938 kB / 1.337 GB, free: 5.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.132, allocations: 4.062 kB / 1.337 GB, free: 5.227 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/1.132, allocations: 4 kB / 1.337 GB, free: 5.223 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/1.132, allocations: 27.98 kB / 1.337 GB, free: 5.195 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.132, allocations: 7.938 kB / 1.337 GB, free: 5.188 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/1.132, allocations: 36.05 kB / 1.337 GB, free: 5.152 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/1.132, allocations: 4 kB / 1.337 GB, free: 5.148 MB / 1.061 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.0001388/1.132, allocations: 149.8 kB / 1.337 GB, free: 4.992 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/1.133, allocations: 31.73 kB / 1.337 GB, free: 4.961 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/1.133, allocations: 130.9 kB / 1.337 GB, free: 4.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/1.133, allocations: 7.938 kB / 1.337 GB, free: 4.812 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.133, allocations: 4 kB / 1.337 GB, free: 4.809 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.133, allocations: 4 kB / 1.337 GB, free: 4.805 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007959/1.134, allocations: 0.7691 MB / 1.338 GB, free: 3.961 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/1.134, allocations: 0 / 1.338 GB, free: 3.961 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/1.134, allocations: 27.92 kB / 1.338 GB, free: 3.934 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/1.134, allocations: 8.156 kB / 1.338 GB, free: 3.926 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/1.134, allocations: 0 / 1.338 GB, free: 3.926 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.134, allocations: 4 kB / 1.338 GB, free: 3.922 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.134, allocations: 0 / 1.338 GB, free: 3.922 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005183/1.134, allocations: 339.5 kB / 1.338 GB, free: 3.559 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.422e-05/1.135, allocations: 112.9 kB / 1.338 GB, free: 3.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/1.135, allocations: 7.984 kB / 1.338 GB, free: 3.422 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/1.135, allocations: 4.047 kB / 1.338 GB, free: 3.418 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/1.135, allocations: 27.84 kB / 1.338 GB, free: 3.391 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/1.135, allocations: 12.12 kB / 1.338 GB, free: 3.379 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001869/1.135, allocations: 205.9 kB / 1.339 GB, free: 3.176 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.135, allocations: 0 / 1.339 GB, free: 3.176 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003372/1.135, allocations: 55.94 kB / 1.339 GB, free: 3.121 MB / 1.061 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.0003461/1.136, allocations: 136.2 kB / 1.339 GB, free: 2.988 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003625/1.136, allocations: 131.8 kB / 1.339 GB, free: 2.859 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/1.136, allocations: 4.094 kB / 1.339 GB, free: 2.855 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/1.136, allocations: 59.78 kB / 1.339 GB, free: 2.797 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007374/1.137, allocations: 126.8 kB / 1.339 GB, free: 2.676 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000842/1.138, allocations: 0.5166 MB / 1.34 GB, free: 2.113 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/1.138, allocations: 0.7519 MB / 1.34 GB, free: 1.336 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.381e-05/1.138, allocations: 23.44 kB / 1.34 GB, free: 1.312 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/1.138, allocations: 0 / 1.34 GB, free: 1.312 MB / 1.061 GB Notification: Performance of Templates: time 0.007206/1.145, allocations: 3.807 MB / 1.344 GB, free: 13.54 MB / 1.076 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/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