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.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.001349/0.001349, allocations: 104.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.001475/0.001475, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.12/3.12, allocations: 0.4892 GB / 0.7951 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_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: 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.002041/0.002041, allocations: 69.11 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4281, allocations: 176.1 MB / 1.326 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2008/0.6289, allocations: 143.9 MB / 1.467 GB, free: 1.383 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006676/0.6356, allocations: 4.245 MB / 1.471 GB, free: 13.13 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004271/0.636, allocations: 15.88 kB / 1.471 GB, free: 13.12 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000573/0.6366, allocations: 127 kB / 1.471 GB, free: 12.99 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.6383, allocations: 0.5602 MB / 1.472 GB, free: 12.43 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.6404, allocations: 0.7903 MB / 1.472 GB, free: 11.64 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008382/0.6412, allocations: 0.5846 MB / 1.473 GB, free: 11.05 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003843/0.6416, allocations: 173.3 kB / 1.473 GB, free: 10.88 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001631/0.6432, allocations: 0.6655 MB / 1.474 GB, free: 10.21 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006887/0.6439, allocations: 310.7 kB / 1.474 GB, free: 9.906 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/0.644, allocations: 20 kB / 1.474 GB, free: 9.887 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.6456, allocations: 0.8493 MB / 1.475 GB, free: 9.035 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.6457, allocations: 91.66 kB / 1.475 GB, free: 8.945 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.6458, allocations: 107.5 kB / 1.475 GB, free: 8.84 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.6471, allocations: 0.6854 MB / 1.476 GB, free: 8.152 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.6471, allocations: 4 kB / 1.476 GB, free: 8.148 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6471, allocations: 0 / 1.476 GB, free: 8.148 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.6471, allocations: 0 / 1.476 GB, free: 8.148 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.001274/0.6484, allocations: 0.5236 MB / 1.476 GB, free: 7.594 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.6484, allocations: 12.03 kB / 1.476 GB, free: 7.582 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006947/0.6491, allocations: 87.66 kB / 1.476 GB, free: 7.496 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005/0.6496, allocations: 233.7 kB / 1.477 GB, free: 7.242 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.6496, allocations: 12 kB / 1.477 GB, free: 7.23 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.409e-05/0.6497, allocations: 20 kB / 1.477 GB, free: 7.211 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005592/0.6503, allocations: 288.1 kB / 1.477 GB, free: 6.902 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.6503, allocations: 0 / 1.477 GB, free: 6.902 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.6503, allocations: 8 kB / 1.477 GB, free: 6.895 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.6503, allocations: 7.938 kB / 1.477 GB, free: 6.887 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.6508, allocations: 212.2 kB / 1.477 GB, free: 6.68 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.6525, allocations: 1.101 MB / 1.478 GB, free: 5.516 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.6528, allocations: 169 kB / 1.478 GB, free: 5.305 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.653, allocations: 112.4 kB / 1.479 GB, free: 5.18 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006495/0.6537, allocations: 107.9 kB / 1.479 GB, free: 5.074 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.6537, allocations: 38.56 kB / 1.479 GB, free: 5.027 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.6537, allocations: 0 / 1.479 GB, free: 5.027 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0008848/0.6546, allocations: 265.2 kB / 1.479 GB, free: 4.762 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.6547, allocations: 158.2 kB / 1.479 GB, free: 4.57 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.655, allocations: 204.7 kB / 1.479 GB, free: 4.363 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.655, allocations: 37.64 kB / 1.479 GB, free: 4.32 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.6551, allocations: 164.3 kB / 1.479 GB, free: 4.156 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.6552, allocations: 43.64 kB / 1.48 GB, free: 4.113 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.887e-05/0.6552, allocations: 41.66 kB / 1.48 GB, free: 4.066 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.6554, allocations: 330.8 kB / 1.48 GB, free: 3.734 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.6556, allocations: 68.31 kB / 1.48 GB, free: 3.668 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.6559, allocations: 247.3 kB / 1.48 GB, free: 3.371 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.6564, allocations: 211.5 kB / 1.48 GB, free: 3.137 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6564, allocations: 3.938 kB / 1.48 GB, free: 3.133 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000531/0.6569, allocations: 245.3 kB / 1.481 GB, free: 2.887 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.6569, allocations: 4 kB / 1.481 GB, free: 2.883 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.6569, allocations: 4 kB / 1.481 GB, free: 2.879 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.6569, allocations: 4 kB / 1.481 GB, free: 2.875 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.6571, allocations: 35.92 kB / 1.481 GB, free: 2.84 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.6571, allocations: 3.984 kB / 1.481 GB, free: 2.836 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.6573, allocations: 24.14 kB / 1.481 GB, free: 2.812 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.6573, allocations: 15.98 kB / 1.481 GB, free: 2.797 MB / 1.17 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.0001707/0.6575, allocations: 149.7 kB / 1.481 GB, free: 2.641 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.6576, allocations: 23.86 kB / 1.481 GB, free: 2.617 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004955/0.6581, allocations: 185.5 kB / 1.481 GB, free: 2.422 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.118e-06/0.6581, allocations: 7.984 kB / 1.481 GB, free: 2.414 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6582, allocations: 0 / 1.481 GB, free: 2.414 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.6582, allocations: 4 kB / 1.481 GB, free: 2.41 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.6593, allocations: 0.7805 MB / 1.482 GB, free: 1.574 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6593, allocations: 0 / 1.482 GB, free: 1.574 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.6594, allocations: 27.92 kB / 1.482 GB, free: 1.547 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.6594, allocations: 4 kB / 1.482 GB, free: 1.543 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.6594, allocations: 4 kB / 1.482 GB, free: 1.539 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.6594, allocations: 3.938 kB / 1.482 GB, free: 1.535 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6594, allocations: 4 kB / 1.482 GB, free: 1.531 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006212/0.66, allocations: 331.6 kB / 1.482 GB, free: 1.176 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.809e-05/0.6601, allocations: 27.81 kB / 1.482 GB, free: 1.148 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.6601, allocations: 8 kB / 1.482 GB, free: 1.141 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.6603, allocations: 11.92 kB / 1.482 GB, free: 1.129 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.6603, allocations: 19.95 kB / 1.482 GB, free: 1.109 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.6603, allocations: 7.938 kB / 1.482 GB, free: 1.102 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001807/0.6605, allocations: 172.5 kB / 1.482 GB, free: 0.9336 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6605, allocations: 4 kB / 1.482 GB, free: 0.9297 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000525/0.6611, allocations: 103.8 kB / 1.482 GB, free: 0.8281 MB / 1.17 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.000449/0.6615, allocations: 195 kB / 1.483 GB, free: 0.625 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0004244/0.6619, allocations: 147.8 kB / 1.483 GB, free: 492 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6619, allocations: 0.5 kB / 1.483 GB, free: 492 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.6621, allocations: 63.84 kB / 1.483 GB, free: 428 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.6626, allocations: 71.41 kB / 1.483 GB, free: 360 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009482/0.6636, allocations: 0.5141 MB / 1.483 GB, free: 15.79 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.6638, allocations: 149.8 kB / 1.484 GB, free: 15.62 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.963e-05/0.6638, allocations: 27.44 kB / 1.484 GB, free: 15.59 MB / 1.186 GB Notification: Performance of SimCode: time 2.51e-07/0.6638, allocations: 0 / 1.484 GB, free: 15.59 MB / 1.186 GB Notification: Performance of Templates: time 0.007862/0.6717, allocations: 4.602 MB / 1.488 GB, free: 11.01 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/jenkins1/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: 12.551038913894445]