Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.0008264/0.0008264, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008045/0.0008045, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8894/0.8894, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.781/1.781, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] 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.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.083e-05/3.274e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6393/0.6394, allocations: 149.4 MB / 1.147 GB, free: 6.602 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.006149/0.6455, allocations: 6.509 MB / 1.153 GB, free: 2.246 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.6457, allocations: 15.72 kB / 1.153 GB, free: 2.238 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0004957/0.6462, allocations: 178.9 kB / 1.153 GB, free: 2.121 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.6486, allocations: 1.309 MB / 1.155 GB, free: 1.457 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.6498, allocations: 0.6948 MB / 1.155 GB, free: 1.113 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0006519/0.6505, allocations: 0.7359 MB / 1.156 GB, free: 0.7695 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003111/0.6508, allocations: 228.5 kB / 1.156 GB, free: 0.668 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.6519, allocations: 0.8305 MB / 1.157 GB, free: 308 kB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005836/0.6525, allocations: 405.9 kB / 1.157 GB, free: 180 kB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.6526, allocations: 29.25 kB / 1.158 GB, free: 176 kB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.6539, allocations: 1.056 MB / 1.159 GB, free: 15.78 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.654, allocations: 124.9 kB / 1.159 GB, free: 15.72 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.6542, allocations: 121.3 kB / 1.159 GB, free: 15.68 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.6553, allocations: 0.92 MB / 1.16 GB, free: 15.38 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.6553, allocations: 4.703 kB / 1.16 GB, free: 15.37 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6553, allocations: 0 / 1.16 GB, free: 15.37 MB / 1.026 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.6553, allocations: 1.188 kB / 1.16 GB, free: 15.37 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008111/0.6561, allocations: 0.6255 MB / 1.16 GB, free: 14.89 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.6562, allocations: 13.81 kB / 1.16 GB, free: 14.89 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005864/0.6568, allocations: 129.1 kB / 1.16 GB, free: 14.86 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.6572, allocations: 265.2 kB / 1.161 GB, free: 14.66 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.771e-05/0.6573, allocations: 74.45 kB / 1.161 GB, free: 14.59 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.6573, allocations: 29.34 kB / 1.161 GB, free: 14.58 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.6578, allocations: 396.7 kB / 1.161 GB, free: 14.37 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.6578, allocations: 1.094 kB / 1.161 GB, free: 14.37 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.6578, allocations: 11.09 kB / 1.161 GB, free: 14.36 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.6578, allocations: 6.469 kB / 1.161 GB, free: 14.36 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.6582, allocations: 270.2 kB / 1.161 GB, free: 14.28 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.6595, allocations: 1.078 MB / 1.162 GB, free: 13.52 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.6598, allocations: 189 kB / 1.163 GB, free: 13.45 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.6599, allocations: 110 kB / 1.163 GB, free: 13.41 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003965/0.6603, allocations: 133 kB / 1.163 GB, free: 13.4 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.6604, allocations: 45.12 kB / 1.163 GB, free: 13.35 MB / 1.026 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.6604, allocations: 1.156 kB / 1.163 GB, free: 13.35 MB / 1.026 GB Notification: Performance of matching and sorting (n=15): time 0.0006102/0.661, allocations: 351.2 kB / 1.163 GB, free: 13.23 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.661, allocations: 53.09 kB / 1.163 GB, free: 13.17 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.6612, allocations: 224.3 kB / 1.164 GB, free: 13.04 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.6612, allocations: 31.27 kB / 1.164 GB, free: 13 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.6613, allocations: 196.9 kB / 1.164 GB, free: 12.83 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.6613, allocations: 57.06 kB / 1.164 GB, free: 12.79 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/0.6614, allocations: 43.05 kB / 1.164 GB, free: 12.76 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.6615, allocations: 331.9 kB / 1.164 GB, free: 12.44 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.6616, allocations: 87.86 kB / 1.164 GB, free: 12.41 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.6618, allocations: 231.9 kB / 1.164 GB, free: 12.23 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.6621, allocations: 237.2 kB / 1.165 GB, free: 12.11 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.6621, allocations: 1.156 kB / 1.165 GB, free: 12.11 MB / 1.026 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003656/0.6624, allocations: 280.5 kB / 1.165 GB, free: 12 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.6624, allocations: 10.23 kB / 1.165 GB, free: 12 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.6624, allocations: 8.969 kB / 1.165 GB, free: 11.99 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.6625, allocations: 1.688 kB / 1.165 GB, free: 11.99 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.6626, allocations: 42.97 kB / 1.165 GB, free: 11.99 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.6626, allocations: 6.344 kB / 1.165 GB, free: 11.98 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.338e-05/0.6627, allocations: 19.75 kB / 1.165 GB, free: 11.98 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.6627, allocations: 14.5 kB / 1.165 GB, free: 11.97 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001141/0.6628, allocations: 145.2 kB / 1.165 GB, free: 11.84 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.6629, allocations: 22.86 kB / 1.165 GB, free: 11.83 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004486/0.6633, allocations: 314.7 kB / 1.166 GB, free: 11.7 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.6633, allocations: 1.344 kB / 1.166 GB, free: 11.7 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6633, allocations: 1.156 kB / 1.166 GB, free: 11.7 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6633, allocations: 1.266 kB / 1.166 GB, free: 11.7 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000818/0.6642, allocations: 0.7104 MB / 1.166 GB, free: 11.27 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.6642, allocations: 5.344 kB / 1.166 GB, free: 11.26 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.938e-05/0.6642, allocations: 36.3 kB / 1.166 GB, free: 11.26 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.6643, allocations: 2.75 kB / 1.166 GB, free: 11.26 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.6643, allocations: 4.609 kB / 1.166 GB, free: 11.26 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.6643, allocations: 3.344 kB / 1.166 GB, free: 11.26 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.6643, allocations: 6.406 kB / 1.166 GB, free: 11.25 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.6647, allocations: 399.6 kB / 1.167 GB, free: 10.99 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/0.6647, allocations: 44.86 kB / 1.167 GB, free: 10.97 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.6648, allocations: 4.453 kB / 1.167 GB, free: 10.97 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.6649, allocations: 23.09 kB / 1.167 GB, free: 10.96 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.6649, allocations: 21.67 kB / 1.167 GB, free: 10.95 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.6649, allocations: 10.22 kB / 1.167 GB, free: 10.95 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001081/0.665, allocations: 164.8 kB / 1.167 GB, free: 10.85 MB / 1.026 GB Notification: Performance of sort global known variables: time 5e-08/0.665, allocations: 0 / 1.167 GB, free: 10.85 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0003549/0.6654, allocations: 132.5 kB / 1.167 GB, free: 10.81 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.0003691/0.6658, allocations: 235.3 kB / 1.167 GB, free: 10.68 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0003432/0.6661, allocations: 215.4 kB / 1.167 GB, free: 10.62 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6661, allocations: 0 / 1.167 GB, free: 10.62 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.6663, allocations: 118 kB / 1.168 GB, free: 10.59 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.6667, allocations: 86.69 kB / 1.168 GB, free: 10.57 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000811/0.6675, allocations: 0.6147 MB / 1.168 GB, free: 10.15 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/0.6676, allocations: 176.3 kB / 1.168 GB, free: 10.07 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.866e-05/0.6677, allocations: 27.97 kB / 1.168 GB, free: 10.06 MB / 1.026 GB Notification: Performance of SimCode: time 4.71e-07/0.6677, allocations: 0 / 1.168 GB, free: 10.06 MB / 1.026 GB Notification: Performance of Templates: time 0.007317/0.675, allocations: 5.614 MB / 1.174 GB, free: 9.434 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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: 7.768276480026543]