Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.001565/0.001565, allocations: 100.4 kB / 19.7 MB, free: 2.125 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.001784/0.001784, allocations: 213.7 kB / 22.99 MB, free: 4.949 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.736/2.736, allocations: 476 MB / 0.7707 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] 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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [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.002023/0.002023, allocations: 66.11 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3145, allocations: 170 MB / 1.284 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.202/0.5166, allocations: 143.9 MB / 1.424 GB, free: 11.51 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006512/0.5231, allocations: 4.218 MB / 1.428 GB, free: 7.281 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000419/0.5235, allocations: 15.88 kB / 1.428 GB, free: 7.266 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0004881/0.524, allocations: 131.1 kB / 1.429 GB, free: 7.137 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.5255, allocations: 0.5679 MB / 1.429 GB, free: 6.566 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.5275, allocations: 0.7986 MB / 1.43 GB, free: 5.77 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.000797/0.5283, allocations: 0.5807 MB / 1.43 GB, free: 5.184 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003413/0.5287, allocations: 169.4 kB / 1.431 GB, free: 5.02 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.5297, allocations: 470.3 kB / 1.431 GB, free: 4.559 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006879/0.5304, allocations: 314.7 kB / 1.431 GB, free: 4.25 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.5305, allocations: 16 kB / 1.431 GB, free: 4.234 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.5323, allocations: 0.8493 MB / 1.432 GB, free: 3.383 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.5325, allocations: 95.66 kB / 1.432 GB, free: 3.289 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.5326, allocations: 111.5 kB / 1.432 GB, free: 3.18 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.5338, allocations: 0.6737 MB / 1.433 GB, free: 2.504 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5338, allocations: 0 / 1.433 GB, free: 2.504 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5338, allocations: 0 / 1.433 GB, free: 2.504 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.5338, allocations: 3.938 kB / 1.433 GB, free: 2.5 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001037/0.5348, allocations: 0.5314 MB / 1.434 GB, free: 1.938 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.5349, allocations: 8.031 kB / 1.434 GB, free: 1.93 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006712/0.5356, allocations: 83.7 kB / 1.434 GB, free: 1.848 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/0.5361, allocations: 237.7 kB / 1.434 GB, free: 1.59 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.5361, allocations: 15.95 kB / 1.434 GB, free: 1.574 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-05/0.5361, allocations: 24 kB / 1.434 GB, free: 1.551 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/0.5367, allocations: 283.2 kB / 1.434 GB, free: 1.246 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.5367, allocations: 0 / 1.434 GB, free: 1.246 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.5367, allocations: 12 kB / 1.434 GB, free: 1.234 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.5367, allocations: 11.88 kB / 1.434 GB, free: 1.223 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.5372, allocations: 203.7 kB / 1.434 GB, free: 1.023 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.5389, allocations: 1.109 MB / 1.436 GB, free: 15.86 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.5392, allocations: 173 kB / 1.436 GB, free: 15.64 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.5394, allocations: 104.2 kB / 1.436 GB, free: 15.52 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006237/0.54, allocations: 103.9 kB / 1.436 GB, free: 15.42 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.5401, allocations: 46.67 kB / 1.436 GB, free: 15.37 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.5401, allocations: 0 / 1.436 GB, free: 15.37 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0007782/0.5409, allocations: 261.8 kB / 1.436 GB, free: 15.11 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.541, allocations: 162.2 kB / 1.436 GB, free: 14.91 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.5412, allocations: 203.2 kB / 1.437 GB, free: 14.7 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.5412, allocations: 29.7 kB / 1.437 GB, free: 14.67 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.5414, allocations: 164.3 kB / 1.437 GB, free: 14.5 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.5414, allocations: 43.64 kB / 1.437 GB, free: 14.46 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.714e-05/0.5415, allocations: 45.56 kB / 1.437 GB, free: 14.41 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.5417, allocations: 334.8 kB / 1.437 GB, free: 14.07 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.5419, allocations: 67.94 kB / 1.437 GB, free: 14.01 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.5422, allocations: 253.8 kB / 1.437 GB, free: 13.71 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.5426, allocations: 207.6 kB / 1.438 GB, free: 13.48 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5426, allocations: 3.938 kB / 1.438 GB, free: 13.47 MB / 1.139 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005504/0.5432, allocations: 245.3 kB / 1.438 GB, free: 13.23 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.5432, allocations: 4 kB / 1.438 GB, free: 13.22 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.5432, allocations: 4 kB / 1.438 GB, free: 13.22 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.5432, allocations: 4 kB / 1.438 GB, free: 13.21 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.5434, allocations: 31.98 kB / 1.438 GB, free: 13.18 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.5434, allocations: 8.188 kB / 1.438 GB, free: 13.18 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.5436, allocations: 27.88 kB / 1.438 GB, free: 13.15 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.5437, allocations: 11.98 kB / 1.438 GB, free: 13.14 MB / 1.139 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.0001611/0.5438, allocations: 149.8 kB / 1.438 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.544, allocations: 15.91 kB / 1.438 GB, free: 12.96 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004873/0.5445, allocations: 189.7 kB / 1.438 GB, free: 12.76 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.5445, allocations: 4 kB / 1.438 GB, free: 12.75 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.5445, allocations: 4.062 kB / 1.438 GB, free: 12.75 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.5445, allocations: 7.984 kB / 1.438 GB, free: 12.74 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.5456, allocations: 0.7727 MB / 1.439 GB, free: 11.91 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5456, allocations: 48 / 1.439 GB, free: 11.91 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.5457, allocations: 35.91 kB / 1.439 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.5457, allocations: 0 / 1.439 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.5457, allocations: 4 kB / 1.439 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5457, allocations: 3.938 kB / 1.439 GB, free: 11.87 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5457, allocations: 4 kB / 1.439 GB, free: 11.87 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006043/0.5463, allocations: 343.6 kB / 1.439 GB, free: 11.5 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/0.5464, allocations: 27.86 kB / 1.439 GB, free: 11.47 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.5464, allocations: 7.953 kB / 1.439 GB, free: 11.46 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.5466, allocations: 11.92 kB / 1.439 GB, free: 11.45 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.5466, allocations: 11.98 kB / 1.439 GB, free: 11.44 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.5466, allocations: 4 kB / 1.439 GB, free: 11.44 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001925/0.5468, allocations: 176.5 kB / 1.44 GB, free: 11.26 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5468, allocations: 0 / 1.44 GB, free: 11.26 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005085/0.5473, allocations: 103.8 kB / 1.44 GB, free: 11.16 MB / 1.139 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.0004944/0.5478, allocations: 206.9 kB / 1.44 GB, free: 10.95 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004795/0.5483, allocations: 144.1 kB / 1.44 GB, free: 10.8 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5483, allocations: 4.188 kB / 1.44 GB, free: 10.8 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.5485, allocations: 55.91 kB / 1.44 GB, free: 10.75 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.549, allocations: 77.11 kB / 1.44 GB, free: 10.68 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009173/0.55, allocations: 0.5173 MB / 1.441 GB, free: 10.11 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.5501, allocations: 145.8 kB / 1.441 GB, free: 9.953 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.002e-05/0.5502, allocations: 27.44 kB / 1.441 GB, free: 9.926 MB / 1.139 GB Notification: Performance of SimCode: time 4.11e-07/0.5502, allocations: 0 / 1.441 GB, free: 9.926 MB / 1.139 GB Notification: Performance of Templates: time 0.007888/0.5581, allocations: 4.604 MB / 1.445 GB, free: 5.352 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.375043732114136]