Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001938/0.001938, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001921/0.001921, allocations: 162.3 kB / 23.01 MB, free: 4.598 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.453/1.453, allocations: 177.2 MB / 203.4 MB, free: 8.91 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.913/2.913, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [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.002131/0.002131, allocations: 67.88 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8845/0.8866, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.187/1.074, allocations: 143.9 MB / 1.327 GB, free: 5.949 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006078/1.08, allocations: 4.219 MB / 1.331 GB, free: 1.723 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00032/1.08, allocations: 11.88 kB / 1.331 GB, free: 1.711 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004582/1.08, allocations: 131 kB / 1.331 GB, free: 1.582 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001434/1.082, allocations: 0.564 MB / 1.332 GB, free: 1.016 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/1.084, allocations: 0.8028 MB / 1.333 GB, free: 220 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007812/1.085, allocations: 0.5807 MB / 1.333 GB, free: 15.63 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/1.085, allocations: 165.1 kB / 1.333 GB, free: 15.47 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/1.086, allocations: 0.6733 MB / 1.334 GB, free: 14.8 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006654/1.087, allocations: 298.9 kB / 1.334 GB, free: 14.5 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/1.087, allocations: 20 kB / 1.334 GB, free: 14.48 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/1.089, allocations: 0.8493 MB / 1.335 GB, free: 13.63 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/1.089, allocations: 91.72 kB / 1.335 GB, free: 13.54 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/1.089, allocations: 103.5 kB / 1.335 GB, free: 13.44 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/1.09, allocations: 0.6852 MB / 1.336 GB, free: 12.76 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.09, allocations: 7.938 kB / 1.336 GB, free: 12.75 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.483e-06/1.09, allocations: 0 / 1.336 GB, free: 12.75 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.114e-05/1.09, allocations: 0 / 1.336 GB, free: 12.75 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001009/1.091, allocations: 0.5314 MB / 1.337 GB, free: 12.19 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/1.091, allocations: 12.03 kB / 1.337 GB, free: 12.18 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006906/1.092, allocations: 79.69 kB / 1.337 GB, free: 12.1 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/1.092, allocations: 237.7 kB / 1.337 GB, free: 11.84 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/1.092, allocations: 12 kB / 1.337 GB, free: 11.83 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/1.092, allocations: 20 kB / 1.337 GB, free: 11.81 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005331/1.093, allocations: 291.4 kB / 1.337 GB, free: 11.5 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/1.093, allocations: 3.938 kB / 1.337 GB, free: 11.49 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/1.093, allocations: 7.984 kB / 1.337 GB, free: 11.48 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/1.093, allocations: 15.92 kB / 1.337 GB, free: 11.47 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004605/1.093, allocations: 203.7 kB / 1.337 GB, free: 11.27 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/1.095, allocations: 1.105 MB / 1.339 GB, free: 10.1 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/1.095, allocations: 169 kB / 1.339 GB, free: 9.891 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/1.095, allocations: 108.2 kB / 1.339 GB, free: 9.77 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006369/1.096, allocations: 103.9 kB / 1.339 GB, free: 9.668 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/1.096, allocations: 42.69 kB / 1.339 GB, free: 9.617 MB / 1.186 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/1.096, allocations: 0 / 1.339 GB, free: 9.617 MB / 1.186 GB Notification: Performance of matching and sorting (n=13): time 0.0007747/1.097, allocations: 273.6 kB / 1.339 GB, free: 9.344 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.293e-05/1.097, allocations: 162.2 kB / 1.339 GB, free: 9.148 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/1.097, allocations: 204.3 kB / 1.34 GB, free: 8.938 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/1.097, allocations: 25.7 kB / 1.34 GB, free: 8.906 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/1.097, allocations: 160.3 kB / 1.34 GB, free: 8.746 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/1.097, allocations: 47.64 kB / 1.34 GB, free: 8.699 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/1.097, allocations: 41.7 kB / 1.34 GB, free: 8.652 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.098, allocations: 330.8 kB / 1.34 GB, free: 8.32 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/1.098, allocations: 72.06 kB / 1.34 GB, free: 8.25 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/1.098, allocations: 246 kB / 1.34 GB, free: 7.957 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/1.098, allocations: 211.9 kB / 1.341 GB, free: 7.723 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.099, allocations: 4 kB / 1.341 GB, free: 7.719 MB / 1.186 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005217/1.099, allocations: 237.2 kB / 1.341 GB, free: 7.48 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.099, allocations: 8 kB / 1.341 GB, free: 7.473 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.099, allocations: 8.188 kB / 1.341 GB, free: 7.465 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.099, allocations: 8 kB / 1.341 GB, free: 7.457 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/1.099, allocations: 39.91 kB / 1.341 GB, free: 7.418 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/1.099, allocations: 8.062 kB / 1.341 GB, free: 7.41 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/1.099, allocations: 23.88 kB / 1.341 GB, free: 7.387 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/1.099, allocations: 12 kB / 1.341 GB, free: 7.375 MB / 1.186 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.0001605/1.1, allocations: 153.6 kB / 1.341 GB, free: 7.215 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/1.1, allocations: 15.91 kB / 1.341 GB, free: 7.199 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/1.1, allocations: 189.5 kB / 1.341 GB, free: 7 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.1, allocations: 3.938 kB / 1.341 GB, free: 6.996 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.1, allocations: 4 kB / 1.341 GB, free: 6.992 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.1, allocations: 4 kB / 1.341 GB, free: 6.988 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/1.101, allocations: 0.7726 MB / 1.342 GB, free: 6.16 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.101, allocations: 4 kB / 1.342 GB, free: 6.156 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/1.101, allocations: 19.98 kB / 1.342 GB, free: 6.137 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/1.101, allocations: 4 kB / 1.342 GB, free: 6.133 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/1.101, allocations: 0 / 1.342 GB, free: 6.133 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/1.101, allocations: 12.09 kB / 1.342 GB, free: 6.121 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.101, allocations: 0 / 1.342 GB, free: 6.121 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005795/1.102, allocations: 339.5 kB / 1.342 GB, free: 5.758 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/1.102, allocations: 23.89 kB / 1.342 GB, free: 5.734 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/1.102, allocations: 8.125 kB / 1.343 GB, free: 5.727 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/1.102, allocations: 11.92 kB / 1.343 GB, free: 5.715 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/1.102, allocations: 11.98 kB / 1.343 GB, free: 5.703 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/1.102, allocations: 8.062 kB / 1.343 GB, free: 5.695 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001699/1.102, allocations: 173.2 kB / 1.343 GB, free: 5.527 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/1.102, allocations: 96 / 1.343 GB, free: 5.527 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004562/1.103, allocations: 115.6 kB / 1.343 GB, free: 5.414 MB / 1.186 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.0003973/1.103, allocations: 203 kB / 1.343 GB, free: 5.203 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000407/1.104, allocations: 147.7 kB / 1.343 GB, free: 5.059 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.104, allocations: 0 / 1.343 GB, free: 5.059 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/1.104, allocations: 59.89 kB / 1.343 GB, free: 5 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/1.104, allocations: 68.12 kB / 1.343 GB, free: 4.938 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008173/1.105, allocations: 0.4921 MB / 1.344 GB, free: 4.406 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/1.105, allocations: 145.8 kB / 1.344 GB, free: 4.238 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001515/1.106, allocations: 61.61 kB / 1.344 GB, free: 4.18 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.327e-05/1.106, allocations: 20.5 kB / 1.344 GB, free: 4.16 MB / 1.186 GB Notification: Performance of SimCode: time 4.3e-07/1.106, allocations: 0 / 1.344 GB, free: 4.16 MB / 1.186 GB Notification: Performance of Templates: time 0.009282/1.115, allocations: 4.375 MB / 1.348 GB, free: 15.87 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.183872783905827]