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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 212.5 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.933/2.933, allocations: 475.9 MB / 0.7699 GB, free: 4.793 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 69.2 kB / 1.117 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3307, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2063/0.537, allocations: 142.2 MB / 1.422 GB, free: 13.23 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006164/0.5431, allocations: 4.194 MB / 1.426 GB, free: 9.02 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004002/0.5435, allocations: 11.88 kB / 1.426 GB, free: 9.008 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005279/0.5441, allocations: 127 kB / 1.426 GB, free: 8.883 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.5451, allocations: 342.4 kB / 1.426 GB, free: 8.547 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008473/0.5459, allocations: 284.8 kB / 1.427 GB, free: 8.27 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0007519/0.5467, allocations: 0.5573 MB / 1.427 GB, free: 7.707 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003354/0.547, allocations: 165.4 kB / 1.427 GB, free: 7.547 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.5481, allocations: 470.2 kB / 1.428 GB, free: 7.086 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.5484, allocations: 199.2 kB / 1.428 GB, free: 6.891 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.5484, allocations: 16 kB / 1.428 GB, free: 6.875 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.5486, allocations: 83.92 kB / 1.428 GB, free: 6.793 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.5488, allocations: 91.72 kB / 1.428 GB, free: 6.703 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.5489, allocations: 99.53 kB / 1.428 GB, free: 6.605 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.5494, allocations: 302.8 kB / 1.429 GB, free: 6.309 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5494, allocations: 7.875 kB / 1.429 GB, free: 6.301 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5494, allocations: 0 / 1.429 GB, free: 6.301 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.5494, allocations: 0 / 1.429 GB, free: 6.301 MB / 1.123 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.0009884/0.5504, allocations: 476.8 kB / 1.429 GB, free: 5.805 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/0.5505, allocations: 8.031 kB / 1.429 GB, free: 5.797 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.85e-05/0.5505, allocations: 31.8 kB / 1.429 GB, free: 5.766 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.551, allocations: 221.7 kB / 1.429 GB, free: 5.523 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.551, allocations: 12 kB / 1.429 GB, free: 5.512 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.5511, allocations: 27.95 kB / 1.429 GB, free: 5.484 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.5516, allocations: 261.9 kB / 1.43 GB, free: 5.191 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.5516, allocations: 3.938 kB / 1.43 GB, free: 5.188 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.5516, allocations: 11.94 kB / 1.43 GB, free: 5.176 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.5516, allocations: 4 kB / 1.43 GB, free: 5.172 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/0.552, allocations: 147.8 kB / 1.43 GB, free: 5.027 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.5534, allocations: 1.227 MB / 1.431 GB, free: 3.73 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.5538, allocations: 179.7 kB / 1.431 GB, free: 3.5 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.5539, allocations: 97.03 kB / 1.431 GB, free: 3.387 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003158/0.5543, allocations: 43.95 kB / 1.431 GB, free: 3.344 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.5543, allocations: 38.55 kB / 1.431 GB, free: 3.297 MB / 1.123 GB Notification: Performance of pre-optimization done (n=10): time 2.054e-06/0.5543, allocations: 3.938 kB / 1.431 GB, free: 3.293 MB / 1.123 GB Notification: Performance of matching and sorting (n=10): time 0.0006456/0.555, allocations: 205.8 kB / 1.432 GB, free: 3.086 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.5551, allocations: 191.9 kB / 1.432 GB, free: 2.855 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.5553, allocations: 200.2 kB / 1.432 GB, free: 2.652 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.5553, allocations: 29.7 kB / 1.432 GB, free: 2.617 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.5555, allocations: 168.1 kB / 1.432 GB, free: 2.449 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.5556, allocations: 35.69 kB / 1.432 GB, free: 2.414 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.5556, allocations: 29.72 kB / 1.432 GB, free: 2.379 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002102/0.5558, allocations: 334.8 kB / 1.432 GB, free: 2.043 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.556, allocations: 43.97 kB / 1.433 GB, free: 2 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.5563, allocations: 218.7 kB / 1.433 GB, free: 1.734 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.5566, allocations: 158.7 kB / 1.433 GB, free: 1.555 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5566, allocations: 4 kB / 1.433 GB, free: 1.551 MB / 1.123 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003996/0.557, allocations: 181.3 kB / 1.433 GB, free: 1.367 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.557, allocations: 8 kB / 1.433 GB, free: 1.359 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.557, allocations: 3.938 kB / 1.433 GB, free: 1.355 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.5571, allocations: 4 kB / 1.433 GB, free: 1.352 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.5572, allocations: 31.98 kB / 1.433 GB, free: 1.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.5572, allocations: 0 / 1.433 GB, free: 1.32 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.5574, allocations: 32.03 kB / 1.433 GB, free: 1.289 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.5574, allocations: 8 kB / 1.433 GB, free: 1.281 MB / 1.123 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.0001842/0.5576, allocations: 149.8 kB / 1.433 GB, free: 1.125 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.5577, allocations: 15.91 kB / 1.433 GB, free: 1.109 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/0.558, allocations: 126.6 kB / 1.433 GB, free: 0.9766 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.5581, allocations: 4 kB / 1.433 GB, free: 0.9727 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5581, allocations: 0 / 1.433 GB, free: 0.9727 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5581, allocations: 0 / 1.433 GB, free: 0.9727 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009425/0.559, allocations: 0.7142 MB / 1.434 GB, free: 208 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.559, allocations: 0 / 1.434 GB, free: 208 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.5591, allocations: 27.92 kB / 1.434 GB, free: 180 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5591, allocations: 128 / 1.434 GB, free: 180 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.5592, allocations: 8 kB / 1.434 GB, free: 172 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5592, allocations: 0 / 1.434 GB, free: 172 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.5592, allocations: 4 kB / 1.434 GB, free: 168 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005883/0.5597, allocations: 335.7 kB / 1.434 GB, free: 15.8 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.5598, allocations: 27.86 kB / 1.435 GB, free: 15.78 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.5598, allocations: 4 kB / 1.435 GB, free: 15.77 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.56, allocations: 7.984 kB / 1.435 GB, free: 15.77 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/0.56, allocations: 15.92 kB / 1.435 GB, free: 15.75 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/0.56, allocations: 4 kB / 1.435 GB, free: 15.75 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001408/0.5602, allocations: 151.5 kB / 1.435 GB, free: 15.6 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5602, allocations: 0 / 1.435 GB, free: 15.6 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003612/0.5605, allocations: 67.84 kB / 1.435 GB, free: 15.53 MB / 1.139 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.00025/0.5608, allocations: 132.6 kB / 1.435 GB, free: 15.39 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003832/0.5612, allocations: 119.8 kB / 1.435 GB, free: 15.28 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5612, allocations: 0 / 1.435 GB, free: 15.28 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.5613, allocations: 60.66 kB / 1.435 GB, free: 15.22 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005294/0.5619, allocations: 70.08 kB / 1.435 GB, free: 15.15 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009307/0.5628, allocations: 480.5 kB / 1.436 GB, free: 14.64 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.563, allocations: 149.8 kB / 1.436 GB, free: 14.47 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001139/0.5631, allocations: 37.45 kB / 1.436 GB, free: 14.44 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.5631, allocations: 19.42 kB / 1.436 GB, free: 14.42 MB / 1.139 GB Notification: Performance of SimCode: time 4.2e-07/0.5631, allocations: 4 kB / 1.436 GB, free: 14.41 MB / 1.139 GB Notification: Performance of Templates: time 0.007722/0.5708, allocations: 3.033 MB / 1.439 GB, free: 11.46 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.573507877066731]