Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001334/0.001334, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001442/0.001442, allocations: 206.8 kB / 22.99 MB, free: 4.965 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.186/3.186, allocations: 0.4892 GB / 0.7951 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] 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.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [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.002119/0.002119, allocations: 72.16 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4084, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2061/0.6145, allocations: 149.5 MB / 1.472 GB, free: 11.72 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009604/0.6241, allocations: 6.558 MB / 1.479 GB, free: 5.145 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005732/0.6247, allocations: 19.81 kB / 1.479 GB, free: 5.125 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006749/0.6253, allocations: 178.7 kB / 1.479 GB, free: 4.949 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003664/0.629, allocations: 1.292 MB / 1.48 GB, free: 3.652 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.631, allocations: 0.6588 MB / 1.481 GB, free: 2.996 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001085/0.632, allocations: 0.7602 MB / 1.482 GB, free: 2.234 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004244/0.6325, allocations: 231.2 kB / 1.482 GB, free: 2.004 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.6342, allocations: 0.7395 MB / 1.483 GB, free: 1.262 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009087/0.6351, allocations: 438.5 kB / 1.483 GB, free: 0.832 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.303e-05/0.6352, allocations: 24 kB / 1.483 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.6374, allocations: 1.04 MB / 1.484 GB, free: 15.76 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.6375, allocations: 119.5 kB / 1.484 GB, free: 15.65 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.6377, allocations: 143.3 kB / 1.484 GB, free: 15.51 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.6393, allocations: 0.8684 MB / 1.485 GB, free: 14.64 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6393, allocations: 4 kB / 1.485 GB, free: 14.63 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6393, allocations: 0 / 1.485 GB, free: 14.63 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.6393, allocations: 0 / 1.485 GB, free: 14.63 MB / 1.186 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.001086/0.6404, allocations: 0.6407 MB / 1.486 GB, free: 13.96 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.6405, allocations: 8.031 kB / 1.486 GB, free: 13.95 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009804/0.6415, allocations: 127.6 kB / 1.486 GB, free: 13.83 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006264/0.6421, allocations: 287.4 kB / 1.486 GB, free: 13.52 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.6422, allocations: 80.05 kB / 1.486 GB, free: 13.43 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.078e-05/0.6422, allocations: 27.94 kB / 1.486 GB, free: 13.4 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007176/0.643, allocations: 393 kB / 1.487 GB, free: 12.99 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.643, allocations: 7.938 kB / 1.487 GB, free: 12.98 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.643, allocations: 16 kB / 1.487 GB, free: 12.96 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.643, allocations: 4 kB / 1.487 GB, free: 12.96 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006035/0.6436, allocations: 277.7 kB / 1.487 GB, free: 12.69 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.6454, allocations: 1.07 MB / 1.488 GB, free: 11.57 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004651/0.6459, allocations: 186.5 kB / 1.488 GB, free: 11.38 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.6461, allocations: 112.8 kB / 1.488 GB, free: 11.27 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007962/0.6469, allocations: 131.8 kB / 1.488 GB, free: 11.14 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.647, allocations: 34.56 kB / 1.488 GB, free: 11.09 MB / 1.186 GB Notification: Performance of pre-optimization done (n=15): time 1.853e-06/0.647, allocations: 0 / 1.488 GB, free: 11.09 MB / 1.186 GB Notification: Performance of matching and sorting (n=15): time 0.001027/0.648, allocations: 355.5 kB / 1.489 GB, free: 10.74 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.6481, allocations: 59.34 kB / 1.489 GB, free: 10.67 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.6483, allocations: 225.9 kB / 1.489 GB, free: 10.45 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.6483, allocations: 29.7 kB / 1.489 GB, free: 10.41 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.6485, allocations: 200.5 kB / 1.489 GB, free: 10.21 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.618e-05/0.6486, allocations: 55.52 kB / 1.489 GB, free: 10.16 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.811e-05/0.6487, allocations: 49.66 kB / 1.489 GB, free: 10.1 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.6489, allocations: 334.8 kB / 1.49 GB, free: 9.766 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.6491, allocations: 83.92 kB / 1.49 GB, free: 9.684 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.6494, allocations: 225.3 kB / 1.49 GB, free: 9.426 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.6499, allocations: 240.1 kB / 1.49 GB, free: 9.172 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.6499, allocations: 0 / 1.49 GB, free: 9.172 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006785/0.6505, allocations: 285.2 kB / 1.49 GB, free: 8.887 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.6506, allocations: 4 kB / 1.49 GB, free: 8.883 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.6506, allocations: 4 kB / 1.49 GB, free: 8.879 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.6506, allocations: 4 kB / 1.49 GB, free: 8.875 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.6508, allocations: 43.91 kB / 1.49 GB, free: 8.832 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.6508, allocations: 4.188 kB / 1.49 GB, free: 8.828 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.651, allocations: 19.89 kB / 1.49 GB, free: 8.809 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.6511, allocations: 15.98 kB / 1.491 GB, free: 8.793 MB / 1.186 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.0002394/0.6513, allocations: 157.6 kB / 1.491 GB, free: 8.629 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.6514, allocations: 23.86 kB / 1.491 GB, free: 8.605 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007163/0.6521, allocations: 307.1 kB / 1.491 GB, free: 8.301 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.6521, allocations: 0 / 1.491 GB, free: 8.301 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6521, allocations: 4 kB / 1.491 GB, free: 8.297 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6521, allocations: 0 / 1.491 GB, free: 8.297 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.6535, allocations: 0.7065 MB / 1.492 GB, free: 7.531 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.6535, allocations: 8 kB / 1.492 GB, free: 7.523 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.6537, allocations: 40.14 kB / 1.492 GB, free: 7.484 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.6537, allocations: 7.984 kB / 1.492 GB, free: 7.477 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.6537, allocations: 4 kB / 1.492 GB, free: 7.473 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.6537, allocations: 4 kB / 1.492 GB, free: 7.469 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6537, allocations: 3.938 kB / 1.492 GB, free: 7.465 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006749/0.6544, allocations: 399.4 kB / 1.492 GB, free: 7.039 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.6546, allocations: 51.72 kB / 1.492 GB, free: 6.988 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.6546, allocations: 8 kB / 1.492 GB, free: 6.98 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.6548, allocations: 15.98 kB / 1.492 GB, free: 6.965 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.6549, allocations: 23.91 kB / 1.492 GB, free: 6.941 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.6549, allocations: 8 kB / 1.492 GB, free: 6.934 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001611/0.6551, allocations: 169.2 kB / 1.492 GB, free: 6.766 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6551, allocations: 3.938 kB / 1.492 GB, free: 6.762 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005637/0.6556, allocations: 127.7 kB / 1.492 GB, free: 6.637 MB / 1.186 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.0004772/0.6561, allocations: 215 kB / 1.493 GB, free: 6.414 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005931/0.6567, allocations: 215.7 kB / 1.493 GB, free: 6.203 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6567, allocations: 3.938 kB / 1.493 GB, free: 6.199 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.6569, allocations: 111.8 kB / 1.493 GB, free: 6.09 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006834/0.6576, allocations: 108.9 kB / 1.493 GB, free: 5.988 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.6589, allocations: 0.6261 MB / 1.494 GB, free: 5.312 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.6591, allocations: 180.8 kB / 1.494 GB, free: 5.113 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.6592, allocations: 27.44 kB / 1.494 GB, free: 5.086 MB / 1.186 GB Notification: Performance of SimCode: time 4.41e-07/0.6592, allocations: 0 / 1.494 GB, free: 5.086 MB / 1.186 GB Notification: Performance of Templates: time 0.009574/0.6688, allocations: 5.684 MB / 1.499 GB, free: 15.43 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.63770527811721]