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.001445/0.001445, allocations: 84.12 kB / 19.18 MB, free: 2.527 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.001538/0.001538, allocations: 165.3 kB / 22.46 MB, free: 5.359 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.548/1.548, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.925/2.925, allocations: 377.8 MB / 0.6221 GB, free: 12.53 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 0.9814 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.622e-05/3.905e-05, allocations: 9.312 kB / 0.9814 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.206/0.2061, allocations: 143.9 MB / 1.122 GB, free: 11.46 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007184/0.2133, allocations: 4.21 MB / 1.126 GB, free: 7.23 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005543/0.2138, allocations: 19.81 kB / 1.126 GB, free: 7.211 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.2144, allocations: 123.1 kB / 1.126 GB, free: 7.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.216, allocations: 0.5868 MB / 1.127 GB, free: 6.5 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.2191, allocations: 0.8243 MB / 1.128 GB, free: 5.676 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.2206, allocations: 0.5766 MB / 1.128 GB, free: 5.098 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000521/0.2211, allocations: 165.4 kB / 1.128 GB, free: 4.938 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002868/0.2239, allocations: 0.7433 MB / 1.129 GB, free: 4.191 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.2251, allocations: 291.1 kB / 1.129 GB, free: 3.906 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.206e-05/0.2251, allocations: 16 kB / 1.129 GB, free: 3.891 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/0.2286, allocations: 0.8568 MB / 1.13 GB, free: 3.031 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.2288, allocations: 95.7 kB / 1.13 GB, free: 2.938 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002678/0.2291, allocations: 95.7 kB / 1.13 GB, free: 2.844 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00268/0.2318, allocations: 0.7284 MB / 1.131 GB, free: 2.113 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.2318, allocations: 0 / 1.131 GB, free: 2.113 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.457e-06/0.2318, allocations: 4 kB / 1.131 GB, free: 2.109 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.2318, allocations: 0 / 1.131 GB, free: 2.109 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.001597/0.2334, allocations: 0.5314 MB / 1.132 GB, free: 1.547 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.3e-05/0.2335, allocations: 8.031 kB / 1.132 GB, free: 1.539 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008711/0.2343, allocations: 75.69 kB / 1.132 GB, free: 1.465 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/0.2348, allocations: 241.6 kB / 1.132 GB, free: 1.203 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.2349, allocations: 16 kB / 1.132 GB, free: 1.188 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.2349, allocations: 16 kB / 1.132 GB, free: 1.172 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005988/0.2355, allocations: 299.2 kB / 1.132 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2355, allocations: 0 / 1.132 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.2355, allocations: 4 kB / 1.132 GB, free: 0.8477 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.2356, allocations: 8 kB / 1.132 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004733/0.236, allocations: 207.8 kB / 1.132 GB, free: 0.6367 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7278/0.9638, allocations: 1.095 MB / 1.133 GB, free: 196.8 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.9641, allocations: 174.1 kB / 1.134 GB, free: 196.7 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.9643, allocations: 106.1 kB / 1.134 GB, free: 196.6 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006355/0.9649, allocations: 103.4 kB / 1.134 GB, free: 196.6 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.9649, allocations: 42.72 kB / 1.134 GB, free: 196.6 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/0.9649, allocations: 0 / 1.134 GB, free: 196.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0007384/0.9657, allocations: 271.6 kB / 1.134 GB, free: 196.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.9657, allocations: 161.2 kB / 1.134 GB, free: 196.4 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.9659, allocations: 208.9 kB / 1.134 GB, free: 196.3 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.9659, allocations: 28.7 kB / 1.135 GB, free: 196.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.589e-05/0.966, allocations: 161.3 kB / 1.135 GB, free: 196.2 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.966, allocations: 43.73 kB / 1.135 GB, free: 196.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.9661, allocations: 42.27 kB / 1.135 GB, free: 196.1 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.9661, allocations: 329.1 kB / 1.135 GB, free: 195.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.9663, allocations: 65.61 kB / 1.135 GB, free: 195.8 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.9665, allocations: 253.7 kB / 1.135 GB, free: 195.6 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/0.9668, allocations: 214.3 kB / 1.136 GB, free: 195.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9668, allocations: 3.469 kB / 1.136 GB, free: 195.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004651/0.9673, allocations: 239.1 kB / 1.136 GB, free: 195.4 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.9673, allocations: 10.66 kB / 1.136 GB, free: 195.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.9673, allocations: 7.719 kB / 1.136 GB, free: 195.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.9673, allocations: 3 kB / 1.136 GB, free: 195.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.9675, allocations: 43.86 kB / 1.136 GB, free: 195.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.9675, allocations: 5.438 kB / 1.136 GB, free: 195.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.9677, allocations: 22.23 kB / 1.136 GB, free: 195.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.9677, allocations: 8.719 kB / 1.136 GB, free: 195.4 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.0001094/0.9678, allocations: 153.6 kB / 1.136 GB, free: 195.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.968, allocations: 16.41 kB / 1.136 GB, free: 195.2 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000409/0.9684, allocations: 189.1 kB / 1.136 GB, free: 195.1 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.9684, allocations: 3.125 kB / 1.136 GB, free: 195.1 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9684, allocations: 3.5 kB / 1.136 GB, free: 195.1 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.9684, allocations: 2.844 kB / 1.136 GB, free: 195.1 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007304/0.9691, allocations: 0.7799 MB / 1.137 GB, free: 194.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.9691, allocations: 2.875 kB / 1.137 GB, free: 194.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.9692, allocations: 20.8 kB / 1.137 GB, free: 194.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.9692, allocations: 3.969 kB / 1.137 GB, free: 194.5 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.9693, allocations: 6.531 kB / 1.137 GB, free: 194.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.9693, allocations: 6.875 kB / 1.137 GB, free: 194.5 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9693, allocations: 0 / 1.137 GB, free: 194.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.9697, allocations: 334.2 kB / 1.137 GB, free: 194.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.9698, allocations: 26.83 kB / 1.137 GB, free: 194.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.9698, allocations: 2.844 kB / 1.137 GB, free: 194.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.97, allocations: 14.17 kB / 1.137 GB, free: 194.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.97, allocations: 8.75 kB / 1.137 GB, free: 194.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.97, allocations: 2.844 kB / 1.137 GB, free: 194.2 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001217/0.9701, allocations: 182.4 kB / 1.138 GB, free: 194.1 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9701, allocations: 0 / 1.138 GB, free: 194.1 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004772/0.9706, allocations: 109.5 kB / 1.138 GB, free: 194.1 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.0004103/0.971, allocations: 215.1 kB / 1.138 GB, free: 194 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003582/0.9714, allocations: 143.3 kB / 1.138 GB, free: 194 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.9714, allocations: 0 / 1.138 GB, free: 194 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.9715, allocations: 60.55 kB / 1.138 GB, free: 193.9 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.9721, allocations: 81.45 kB / 1.138 GB, free: 193.9 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/0.9727, allocations: 469 kB / 1.139 GB, free: 193.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.9728, allocations: 148.9 kB / 1.139 GB, free: 193.6 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.973, allocations: 52.11 kB / 1.139 GB, free: 193.6 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.973, allocations: 19.69 kB / 1.139 GB, free: 193.6 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/0.973, allocations: 0 / 1.139 GB, free: 193.6 MB / 1.076 GB Notification: Performance of Templates: time 0.008184/0.9812, allocations: 4.391 MB / 1.143 GB, free: 193.1 MB / 1.076 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: 9.69330332800746]