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.001376/0.001376, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001646/0.001646, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.781 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.276/3.276, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 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.002136/0.002136, allocations: 65.86 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3989, allocations: 176.1 MB / 1.326 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2138/0.6127, allocations: 149.5 MB / 1.472 GB, free: 11.72 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.6228, allocations: 6.55 MB / 1.478 GB, free: 5.148 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005373/0.6233, allocations: 15.88 kB / 1.478 GB, free: 5.133 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007087/0.624, allocations: 178.7 kB / 1.478 GB, free: 4.957 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003846/0.6279, allocations: 1.303 MB / 1.479 GB, free: 3.648 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.6298, allocations: 0.6582 MB / 1.48 GB, free: 2.996 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001683/0.6315, allocations: 0.7641 MB / 1.481 GB, free: 2.23 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006439/0.6322, allocations: 223.2 kB / 1.481 GB, free: 2.008 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002683/0.6348, allocations: 0.7435 MB / 1.482 GB, free: 1.262 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.6362, allocations: 434.5 kB / 1.482 GB, free: 0.8359 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 9.865e-05/0.6363, allocations: 24 kB / 1.482 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.6389, allocations: 1.04 MB / 1.483 GB, free: 15.77 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.6391, allocations: 119.6 kB / 1.483 GB, free: 15.65 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002819/0.6394, allocations: 147.4 kB / 1.483 GB, free: 15.51 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.6418, allocations: 0.8722 MB / 1.484 GB, free: 14.63 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6418, allocations: 3.938 kB / 1.484 GB, free: 14.63 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6418, allocations: 0 / 1.484 GB, free: 14.63 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.6418, allocations: 0 / 1.484 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.001362/0.6431, allocations: 0.6329 MB / 1.485 GB, free: 13.96 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.6432, allocations: 11.97 kB / 1.485 GB, free: 13.95 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.6443, allocations: 131.6 kB / 1.485 GB, free: 13.82 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006879/0.645, allocations: 287.5 kB / 1.485 GB, free: 13.51 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.6451, allocations: 72.06 kB / 1.485 GB, free: 13.43 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-05/0.6451, allocations: 24 kB / 1.485 GB, free: 13.41 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000792/0.6459, allocations: 396.9 kB / 1.486 GB, free: 12.99 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.6459, allocations: 4 kB / 1.486 GB, free: 12.99 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.646, allocations: 12 kB / 1.486 GB, free: 12.98 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.646, allocations: 4 kB / 1.486 GB, free: 12.97 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005877/0.6466, allocations: 277.7 kB / 1.486 GB, free: 12.7 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.6487, allocations: 1.086 MB / 1.487 GB, free: 11.57 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000455/0.6491, allocations: 186.5 kB / 1.487 GB, free: 11.38 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.6494, allocations: 111 kB / 1.487 GB, free: 11.27 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008194/0.6502, allocations: 131.8 kB / 1.488 GB, free: 11.14 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/0.6502, allocations: 38.5 kB / 1.488 GB, free: 11.09 MB / 1.186 GB Notification: Performance of pre-optimization done (n=15): time 2.395e-06/0.6502, allocations: 4 kB / 1.488 GB, free: 11.09 MB / 1.186 GB Notification: Performance of matching and sorting (n=15): time 0.001022/0.6513, allocations: 349.3 kB / 1.488 GB, free: 10.74 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.6513, allocations: 55.41 kB / 1.488 GB, free: 10.67 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.6516, allocations: 229.9 kB / 1.488 GB, free: 10.44 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.6516, allocations: 25.7 kB / 1.488 GB, free: 10.41 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.6518, allocations: 200.5 kB / 1.488 GB, free: 10.21 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.749e-05/0.6519, allocations: 51.53 kB / 1.488 GB, free: 10.16 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.652, allocations: 49.66 kB / 1.489 GB, free: 10.11 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.6522, allocations: 334.8 kB / 1.489 GB, free: 9.77 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.6524, allocations: 91.92 kB / 1.489 GB, free: 9.68 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.6527, allocations: 223.8 kB / 1.489 GB, free: 9.422 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004817/0.6532, allocations: 237.8 kB / 1.489 GB, free: 9.168 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6532, allocations: 0 / 1.489 GB, free: 9.168 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006117/0.6538, allocations: 285.2 kB / 1.49 GB, free: 8.883 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.6538, allocations: 8 kB / 1.49 GB, free: 8.875 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6538, allocations: 0 / 1.49 GB, free: 8.875 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.6538, allocations: 4 kB / 1.49 GB, free: 8.871 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.6541, allocations: 40.16 kB / 1.49 GB, free: 8.832 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.6541, allocations: 7.984 kB / 1.49 GB, free: 8.824 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.6543, allocations: 27.81 kB / 1.49 GB, free: 8.797 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.6543, allocations: 12 kB / 1.49 GB, free: 8.785 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.0001849/0.6545, allocations: 149.8 kB / 1.49 GB, free: 8.629 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-05/0.6546, allocations: 23.86 kB / 1.49 GB, free: 8.605 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007186/0.6553, allocations: 315 kB / 1.49 GB, free: 8.293 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.6553, allocations: 0 / 1.49 GB, free: 8.293 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6553, allocations: 0 / 1.49 GB, free: 8.293 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.6553, allocations: 4 kB / 1.49 GB, free: 8.289 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.6566, allocations: 0.7065 MB / 1.491 GB, free: 7.523 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.6566, allocations: 4.219 kB / 1.491 GB, free: 7.52 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.6568, allocations: 35.97 kB / 1.491 GB, free: 7.484 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.6568, allocations: 4 kB / 1.491 GB, free: 7.48 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.6568, allocations: 8 kB / 1.491 GB, free: 7.473 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.6569, allocations: 4 kB / 1.491 GB, free: 7.469 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.6569, allocations: 11.88 kB / 1.491 GB, free: 7.457 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006315/0.6575, allocations: 387 kB / 1.491 GB, free: 7.043 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.6576, allocations: 63.66 kB / 1.491 GB, free: 6.98 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.6577, allocations: 4 kB / 1.491 GB, free: 6.977 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.6579, allocations: 16.08 kB / 1.491 GB, free: 6.961 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.658, allocations: 27.84 kB / 1.491 GB, free: 6.934 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.658, allocations: 8 kB / 1.491 GB, free: 6.926 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001783/0.6582, allocations: 169.2 kB / 1.492 GB, free: 6.758 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.6582, allocations: 0 / 1.492 GB, free: 6.758 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006284/0.6588, allocations: 131.6 kB / 1.492 GB, free: 6.629 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.000495/0.6593, allocations: 218.9 kB / 1.492 GB, free: 6.402 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005218/0.6598, allocations: 215.7 kB / 1.492 GB, free: 6.191 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6598, allocations: 0 / 1.492 GB, free: 6.191 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.66, allocations: 111.8 kB / 1.492 GB, free: 6.082 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006643/0.6607, allocations: 106.3 kB / 1.492 GB, free: 5.988 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.6619, allocations: 0.5972 MB / 1.493 GB, free: 5.348 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.6621, allocations: 184.8 kB / 1.493 GB, free: 5.145 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002322/0.6623, allocations: 70.14 kB / 1.493 GB, free: 5.078 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/0.6624, allocations: 27.44 kB / 1.493 GB, free: 5.051 MB / 1.186 GB Notification: Performance of SimCode: time 3.91e-07/0.6624, allocations: 0 / 1.493 GB, free: 5.051 MB / 1.186 GB Notification: Performance of Templates: time 0.01283/0.6752, allocations: 6.351 MB / 1.499 GB, free: 14.8 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/jenkins/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: 9.801272355020046]