Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001736/0.001736, allocations: 78.81 kB / 19.18 MB, free: 2.516 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.002184/0.002184, allocations: 162.7 kB / 22.46 MB, free: 5.375 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.503/1.503, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.995/2.995, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.271e-05, allocations: 6.281 kB / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.7484/0.7484, allocations: 143.8 MB / 1.141 GB, free: 45.26 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004736/0.7531, allocations: 4.187 MB / 1.145 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003489/0.7535, allocations: 12.19 kB / 1.145 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004813/0.754, allocations: 131.1 kB / 1.145 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.7553, allocations: 0.5726 MB / 1.145 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.7571, allocations: 0.8302 MB / 1.146 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006165/0.7578, allocations: 0.5485 MB / 1.147 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.758, allocations: 144.1 kB / 1.147 GB, free: 45.13 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.7595, allocations: 0.7389 MB / 1.148 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005482/0.76, allocations: 277.6 kB / 1.148 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.7601, allocations: 17.38 kB / 1.148 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.7614, allocations: 0.8647 MB / 1.149 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.614e-05/0.7615, allocations: 97.84 kB / 1.149 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.7616, allocations: 85.28 kB / 1.149 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009477/0.7625, allocations: 0.7283 MB / 1.15 GB, free: 45.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.7625, allocations: 0 / 1.15 GB, free: 45.07 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7625, allocations: 4.125 kB / 1.15 GB, free: 45.07 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.7625, allocations: 0 / 1.15 GB, free: 45.07 MB / 1.076 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.0009159/0.7635, allocations: 0.5204 MB / 1.15 GB, free: 44.68 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.7635, allocations: 10.66 kB / 1.15 GB, free: 44.68 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006989/0.7642, allocations: 78.89 kB / 1.15 GB, free: 44.67 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.7646, allocations: 222 kB / 1.15 GB, free: 44.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.7646, allocations: 24.09 kB / 1.15 GB, free: 44.52 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.026e-05/0.7646, allocations: 20.53 kB / 1.15 GB, free: 44.52 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004572/0.7651, allocations: 283.4 kB / 1.151 GB, free: 44.43 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.7651, allocations: 4.062 kB / 1.151 GB, free: 44.43 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.7651, allocations: 3.938 kB / 1.151 GB, free: 44.43 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.7651, allocations: 9.016 kB / 1.151 GB, free: 44.43 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.7655, allocations: 204.3 kB / 1.151 GB, free: 44.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.7668, allocations: 1.105 MB / 1.152 GB, free: 43.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.7671, allocations: 167.4 kB / 1.152 GB, free: 43.56 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.7673, allocations: 107 kB / 1.152 GB, free: 43.52 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006499/0.7679, allocations: 108.2 kB / 1.152 GB, free: 43.52 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.7679, allocations: 40.91 kB / 1.152 GB, free: 43.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.768, allocations: 2.719 kB / 1.152 GB, free: 43.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0007271/0.7687, allocations: 278.4 kB / 1.153 GB, free: 43.43 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.7687, allocations: 160.4 kB / 1.153 GB, free: 43.25 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.7689, allocations: 202 kB / 1.153 GB, free: 43.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.7689, allocations: 33.05 kB / 1.153 GB, free: 43.11 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/0.769, allocations: 157.6 kB / 1.153 GB, free: 42.99 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.769, allocations: 51.8 kB / 1.153 GB, free: 42.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.616e-05/0.7691, allocations: 40.48 kB / 1.153 GB, free: 42.95 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.34e-05/0.7691, allocations: 323.6 kB / 1.154 GB, free: 42.64 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.7692, allocations: 71.89 kB / 1.154 GB, free: 42.64 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.7694, allocations: 248.9 kB / 1.154 GB, free: 42.43 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.7698, allocations: 209.8 kB / 1.154 GB, free: 42.36 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7698, allocations: 0 / 1.154 GB, free: 42.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004528/0.7702, allocations: 243.8 kB / 1.154 GB, free: 42.32 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.7702, allocations: 10.02 kB / 1.154 GB, free: 42.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.7703, allocations: 3.938 kB / 1.154 GB, free: 42.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.7703, allocations: 3.906 kB / 1.154 GB, free: 42.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.7705, allocations: 43.03 kB / 1.154 GB, free: 42.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.7705, allocations: 3.688 kB / 1.154 GB, free: 42.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.7706, allocations: 21.39 kB / 1.154 GB, free: 42.31 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.7707, allocations: 11.81 kB / 1.154 GB, free: 42.31 MB / 1.076 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.0001097/0.7708, allocations: 150 kB / 1.155 GB, free: 42.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.7709, allocations: 17.22 kB / 1.155 GB, free: 42.19 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000464/0.7714, allocations: 189.9 kB / 1.155 GB, free: 42.12 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.7714, allocations: 2.625 kB / 1.155 GB, free: 42.12 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.7714, allocations: 1.094 kB / 1.155 GB, free: 42.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.7714, allocations: 3.656 kB / 1.155 GB, free: 42.12 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000747/0.7721, allocations: 0.7778 MB / 1.156 GB, free: 41.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.7722, allocations: 3.062 kB / 1.156 GB, free: 41.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.7723, allocations: 20.14 kB / 1.156 GB, free: 41.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.7723, allocations: 2.562 kB / 1.156 GB, free: 41.55 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.7723, allocations: 6.781 kB / 1.156 GB, free: 41.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.7723, allocations: 5.281 kB / 1.156 GB, free: 41.55 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.7723, allocations: 9.719 kB / 1.156 GB, free: 41.55 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004989/0.7728, allocations: 329.6 kB / 1.156 GB, free: 41.37 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.7728, allocations: 30.31 kB / 1.156 GB, free: 41.36 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.7729, allocations: 6.875 kB / 1.156 GB, free: 41.35 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.773, allocations: 9.188 kB / 1.156 GB, free: 41.35 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.7731, allocations: 16.19 kB / 1.156 GB, free: 41.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-06/0.7731, allocations: 2.875 kB / 1.156 GB, free: 41.35 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000139/0.7732, allocations: 174.7 kB / 1.156 GB, free: 41.27 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.7732, allocations: 4.844 kB / 1.156 GB, free: 41.27 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005098/0.7738, allocations: 105 kB / 1.156 GB, free: 41.25 MB / 1.076 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.0004222/0.7742, allocations: 212.4 kB / 1.156 GB, free: 41.15 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000368/0.7745, allocations: 152 kB / 1.157 GB, free: 41.15 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7745, allocations: 1.938 kB / 1.157 GB, free: 41.15 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.7747, allocations: 58.17 kB / 1.157 GB, free: 41.15 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.7752, allocations: 63.97 kB / 1.157 GB, free: 41.15 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006821/0.7759, allocations: 456.8 kB / 1.157 GB, free: 40.89 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.776, allocations: 148.7 kB / 1.157 GB, free: 40.81 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000135/0.7761, allocations: 56.72 kB / 1.157 GB, free: 40.81 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.7762, allocations: 19.88 kB / 1.157 GB, free: 40.8 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.7762, allocations: 0.9062 kB / 1.157 GB, free: 40.8 MB / 1.076 GB Notification: Performance of Templates: time 0.008187/0.7844, allocations: 4.208 MB / 1.161 GB, free: 40.58 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.381910603493452]