Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 192.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.915/2.915, allocations: 496 MB / 0.7835 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 69.95 kB / 1.138 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3227, allocations: 173.6 MB / 1.307 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1884/0.5111, allocations: 163.9 MB / 1.467 GB, free: 13.17 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006486/0.5176, allocations: 4.628 MB / 1.472 GB, free: 8.531 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003802/0.518, allocations: 11.88 kB / 1.472 GB, free: 8.52 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005012/0.5185, allocations: 127 kB / 1.472 GB, free: 8.395 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.52, allocations: 0.5719 MB / 1.473 GB, free: 7.82 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.522, allocations: 0.8131 MB / 1.473 GB, free: 7.008 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008989/0.5229, allocations: 0.5807 MB / 1.474 GB, free: 6.426 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000342/0.5233, allocations: 173.3 kB / 1.474 GB, free: 6.254 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.5249, allocations: 0.6967 MB / 1.475 GB, free: 5.555 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006872/0.5256, allocations: 302.8 kB / 1.475 GB, free: 5.258 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.5256, allocations: 16 kB / 1.475 GB, free: 5.242 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.5277, allocations: 1.114 MB / 1.476 GB, free: 4.125 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.5278, allocations: 91.72 kB / 1.476 GB, free: 4.035 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.528, allocations: 119.4 kB / 1.476 GB, free: 3.918 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.5291, allocations: 0.7166 MB / 1.477 GB, free: 3.199 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.5291, allocations: 0 / 1.477 GB, free: 3.199 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5291, allocations: 0 / 1.477 GB, free: 3.199 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.5291, allocations: 0 / 1.477 GB, free: 3.199 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001125/0.5303, allocations: 0.5391 MB / 1.478 GB, free: 2.629 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.5303, allocations: 12.92 kB / 1.478 GB, free: 2.617 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007338/0.531, allocations: 79.69 kB / 1.478 GB, free: 2.539 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.5315, allocations: 233.7 kB / 1.478 GB, free: 2.285 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.5315, allocations: 12 kB / 1.478 GB, free: 2.273 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.5316, allocations: 24 kB / 1.478 GB, free: 2.25 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005667/0.5321, allocations: 296.1 kB / 1.478 GB, free: 1.934 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.5321, allocations: 0 / 1.478 GB, free: 1.934 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.5322, allocations: 8 kB / 1.478 GB, free: 1.926 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.5322, allocations: 7.938 kB / 1.478 GB, free: 1.918 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004239/0.5326, allocations: 207.7 kB / 1.478 GB, free: 1.715 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.5345, allocations: 1.194 MB / 1.48 GB, free: 456 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.5348, allocations: 180.9 kB / 1.48 GB, free: 228 kB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.535, allocations: 108.2 kB / 1.48 GB, free: 104 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006508/0.5357, allocations: 99.86 kB / 1.48 GB, free: 4 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/0.5357, allocations: 46.69 kB / 1.48 GB, free: 15.95 MB / 1.186 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.5357, allocations: 0 / 1.48 GB, free: 15.95 MB / 1.186 GB Notification: Performance of matching and sorting (n=13): time 0.0007496/0.5365, allocations: 277.2 kB / 1.48 GB, free: 15.67 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.83e-05/0.5366, allocations: 162.7 kB / 1.48 GB, free: 15.48 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.5369, allocations: 292.2 kB / 1.481 GB, free: 15.19 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.5369, allocations: 29.7 kB / 1.481 GB, free: 15.15 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.537, allocations: 140 kB / 1.481 GB, free: 15.01 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.5371, allocations: 55.53 kB / 1.481 GB, free: 14.96 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.999e-05/0.5371, allocations: 37.7 kB / 1.481 GB, free: 14.91 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002286/0.5374, allocations: 338.8 kB / 1.481 GB, free: 14.57 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.5375, allocations: 67.94 kB / 1.481 GB, free: 14.51 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.5378, allocations: 149.6 kB / 1.482 GB, free: 14.33 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.5381, allocations: 207.5 kB / 1.482 GB, free: 14.1 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.5381, allocations: 0 / 1.482 GB, free: 14.1 MB / 1.186 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005213/0.5387, allocations: 257.2 kB / 1.482 GB, free: 13.84 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5387, allocations: 4.375 kB / 1.482 GB, free: 13.84 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.5387, allocations: 4 kB / 1.482 GB, free: 13.84 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.5387, allocations: 0 / 1.482 GB, free: 13.84 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.5389, allocations: 43.92 kB / 1.482 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5389, allocations: 8.188 kB / 1.482 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.5391, allocations: 31.77 kB / 1.482 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.5391, allocations: 15.94 kB / 1.482 GB, free: 13.74 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.000145/0.5393, allocations: 149.8 kB / 1.482 GB, free: 13.58 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.5394, allocations: 31.81 kB / 1.482 GB, free: 13.55 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004528/0.5399, allocations: 181.9 kB / 1.482 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.5399, allocations: 7.984 kB / 1.482 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5399, allocations: 3.938 kB / 1.482 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5399, allocations: 0 / 1.482 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009862/0.5409, allocations: 0.8267 MB / 1.483 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5409, allocations: 0 / 1.483 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.541, allocations: 32.06 kB / 1.483 GB, free: 12.41 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.541, allocations: 7.938 kB / 1.483 GB, free: 12.41 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.541, allocations: 8 kB / 1.483 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.541, allocations: 4.062 kB / 1.483 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.541, allocations: 8 kB / 1.483 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005487/0.5416, allocations: 331.5 kB / 1.484 GB, free: 12.03 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.5416, allocations: 39.81 kB / 1.484 GB, free: 11.99 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.5417, allocations: 4 kB / 1.484 GB, free: 11.99 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.5418, allocations: 11.92 kB / 1.484 GB, free: 11.98 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.5419, allocations: 16.05 kB / 1.484 GB, free: 11.96 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.5419, allocations: 4 kB / 1.484 GB, free: 11.96 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002527/0.5421, allocations: 235 kB / 1.484 GB, free: 11.73 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5421, allocations: 0 / 1.484 GB, free: 11.73 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004515/0.5426, allocations: 99.77 kB / 1.484 GB, free: 11.63 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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.0004984/0.5431, allocations: 215.7 kB / 1.484 GB, free: 11.42 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003775/0.5435, allocations: 143.7 kB / 1.484 GB, free: 11.28 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5435, allocations: 4 kB / 1.484 GB, free: 11.28 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.5436, allocations: 64.52 kB / 1.484 GB, free: 11.21 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006927/0.5443, allocations: 144.2 kB / 1.485 GB, free: 11.08 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007975/0.5451, allocations: 496.2 kB / 1.485 GB, free: 10.55 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.5455, allocations: 0.7634 MB / 1.486 GB, free: 9.758 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000179/0.5457, allocations: 70.88 kB / 1.486 GB, free: 9.688 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.5458, allocations: 23.44 kB / 1.486 GB, free: 9.664 MB / 1.186 GB Notification: Performance of SimCode: time 2.9e-07/0.5458, allocations: 0 / 1.486 GB, free: 9.664 MB / 1.186 GB Notification: Performance of Templates: time 0.01089/0.5567, allocations: 5.929 MB / 1.492 GB, free: 3.801 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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: 8.398408844135702]