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.001816/0.001816, allocations: 79.2 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.002218/0.002218, allocations: 165 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.622/1.622, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.916/2.916, allocations: 389 MB / 0.633 GB, free: 0.9414 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.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 2.043e-06/2.043e-06, allocations: 0 / 1 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.147e-05/3.351e-05, allocations: 6.219 kB / 1 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7753/0.7753, allocations: 149.4 MB / 1.146 GB, free: 45.25 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00711/0.7825, allocations: 6.516 MB / 1.152 GB, free: 45.15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004882/0.7829, allocations: 17.59 kB / 1.152 GB, free: 45.15 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005739/0.7835, allocations: 180.8 kB / 1.153 GB, free: 45.15 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003186/0.7867, allocations: 1.312 MB / 1.154 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.7883, allocations: 0.688 MB / 1.155 GB, free: 45.07 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0009117/0.7892, allocations: 0.7323 MB / 1.155 GB, free: 45.07 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000378/0.7896, allocations: 223.9 kB / 1.156 GB, free: 45.05 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.7912, allocations: 0.8351 MB / 1.156 GB, free: 45.04 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007353/0.7919, allocations: 417.9 kB / 1.157 GB, free: 45.04 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.7919, allocations: 27.03 kB / 1.157 GB, free: 45.04 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.7936, allocations: 1.058 MB / 1.158 GB, free: 44.95 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.7937, allocations: 119.5 kB / 1.158 GB, free: 44.93 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.7939, allocations: 123.2 kB / 1.158 GB, free: 44.92 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.795, allocations: 0.9186 MB / 1.159 GB, free: 44.84 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.795, allocations: 3.984 kB / 1.159 GB, free: 44.84 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/0.795, allocations: 0 / 1.159 GB, free: 44.84 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.795, allocations: 4.562 kB / 1.159 GB, free: 44.84 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008331/0.7958, allocations: 0.6205 MB / 1.16 GB, free: 44.42 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.7959, allocations: 9.5 kB / 1.16 GB, free: 44.42 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009876/0.7968, allocations: 124.8 kB / 1.16 GB, free: 44.4 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/0.7973, allocations: 272.5 kB / 1.16 GB, free: 44.24 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-05/0.7974, allocations: 78.61 kB / 1.16 GB, free: 44.17 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.7974, allocations: 29.88 kB / 1.16 GB, free: 44.17 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.798, allocations: 397.1 kB / 1.16 GB, free: 44.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.798, allocations: 1.031 kB / 1.16 GB, free: 44.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.798, allocations: 9.438 kB / 1.16 GB, free: 44.05 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.798, allocations: 7.625 kB / 1.16 GB, free: 44.05 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004749/0.7985, allocations: 276.5 kB / 1.161 GB, free: 44.05 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.7999, allocations: 1.064 MB / 1.162 GB, free: 43.47 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.8003, allocations: 182.1 kB / 1.162 GB, free: 43.45 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.8004, allocations: 118.1 kB / 1.162 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007143/0.8012, allocations: 130 kB / 1.162 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.8012, allocations: 39.88 kB / 1.162 GB, free: 43.4 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.8012, allocations: 0.7812 kB / 1.162 GB, free: 43.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0008874/0.8021, allocations: 349.4 kB / 1.163 GB, free: 43.36 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.8021, allocations: 57.62 kB / 1.163 GB, free: 43.29 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.8023, allocations: 235.8 kB / 1.163 GB, free: 43.18 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.8023, allocations: 32.14 kB / 1.163 GB, free: 43.15 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.716e-05/0.8024, allocations: 193.8 kB / 1.163 GB, free: 43.03 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.8024, allocations: 51.36 kB / 1.163 GB, free: 42.99 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-05/0.8025, allocations: 43.81 kB / 1.163 GB, free: 42.98 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.87e-05/0.8025, allocations: 334.2 kB / 1.163 GB, free: 42.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.8027, allocations: 83.81 kB / 1.163 GB, free: 42.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.8029, allocations: 228.2 kB / 1.164 GB, free: 42.52 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.8033, allocations: 238.5 kB / 1.164 GB, free: 42.46 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.8033, allocations: 6.5 kB / 1.164 GB, free: 42.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005364/0.8039, allocations: 274.7 kB / 1.164 GB, free: 42.42 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.8039, allocations: 5.688 kB / 1.164 GB, free: 42.42 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.8039, allocations: 3.969 kB / 1.164 GB, free: 42.42 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.8039, allocations: 6.047 kB / 1.164 GB, free: 42.42 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.8041, allocations: 38.61 kB / 1.164 GB, free: 42.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.8041, allocations: 13.41 kB / 1.164 GB, free: 42.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.8044, allocations: 26.81 kB / 1.164 GB, free: 42.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.8044, allocations: 8.906 kB / 1.164 GB, free: 42.4 MB / 1.076 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.0001211/0.8045, allocations: 153.2 kB / 1.164 GB, free: 42.29 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.8046, allocations: 24.28 kB / 1.164 GB, free: 42.28 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006341/0.8052, allocations: 302.9 kB / 1.165 GB, free: 42.24 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.8052, allocations: 0 / 1.165 GB, free: 42.24 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8053, allocations: 6.625 kB / 1.165 GB, free: 42.23 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.8053, allocations: 5.625 kB / 1.165 GB, free: 42.23 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.8064, allocations: 0.7105 MB / 1.165 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.8064, allocations: 2.656 kB / 1.165 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.8066, allocations: 43.27 kB / 1.166 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.8066, allocations: 3.562 kB / 1.166 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.8066, allocations: 2.812 kB / 1.166 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.8066, allocations: 4.25 kB / 1.166 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8066, allocations: 3 kB / 1.166 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005094/0.8071, allocations: 402.9 kB / 1.166 GB, free: 41.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.108e-05/0.8072, allocations: 50.12 kB / 1.166 GB, free: 41.71 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.8073, allocations: 10.12 kB / 1.166 GB, free: 41.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.8076, allocations: 12.19 kB / 1.166 GB, free: 41.71 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.8076, allocations: 18.5 kB / 1.166 GB, free: 41.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.8077, allocations: 15.02 kB / 1.166 GB, free: 41.71 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001022/0.8078, allocations: 160.1 kB / 1.166 GB, free: 41.63 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8078, allocations: 1.031 kB / 1.166 GB, free: 41.63 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008343/0.8086, allocations: 136.3 kB / 1.166 GB, free: 41.6 MB / 1.076 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.0004103/0.809, allocations: 226.4 kB / 1.167 GB, free: 41.5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004689/0.8095, allocations: 218.1 kB / 1.167 GB, free: 41.5 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.8095, allocations: 1 kB / 1.167 GB, free: 41.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.8097, allocations: 111.1 kB / 1.167 GB, free: 41.5 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000906/0.8106, allocations: 97.44 kB / 1.167 GB, free: 41.49 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008705/0.8115, allocations: 0.5618 MB / 1.167 GB, free: 41.18 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.8116, allocations: 183 kB / 1.168 GB, free: 41.1 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002023/0.8118, allocations: 69.12 kB / 1.168 GB, free: 41.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.75e-05/0.8119, allocations: 31.56 kB / 1.168 GB, free: 41.08 MB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/0.8119, allocations: 0 / 1.168 GB, free: 41.08 MB / 1.076 GB Notification: Performance of Templates: time 0.01169/0.8236, allocations: 5.72 MB / 1.173 GB, free: 40.66 MB / 1.076 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: 9.514989882707596]