Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001917/0.001917, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.001989/0.001989, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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 1.585/1.585, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.14/3.14, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.835e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2299/0.2299, allocations: 159.3 MB / 0.9664 GB, free: 2.242 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00745/0.2374, allocations: 4.739 MB / 0.971 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004357/0.2378, allocations: 15.88 kB / 0.971 GB, free: 13.47 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0005684/0.2384, allocations: 127 kB / 0.9712 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.24, allocations: 0.5868 MB / 0.9717 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.2422, allocations: 0.8211 MB / 0.9725 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.000864/0.2431, allocations: 0.5766 MB / 0.9731 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.2434, allocations: 177.5 kB / 0.9733 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.2452, allocations: 0.7472 MB / 0.974 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006441/0.2459, allocations: 287 kB / 0.9743 GB, free: 10.15 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.2459, allocations: 20 kB / 0.9743 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.2477, allocations: 0.8606 MB / 0.9751 GB, free: 9.27 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.2479, allocations: 99.72 kB / 0.9752 GB, free: 9.172 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.248, allocations: 87.81 kB / 0.9753 GB, free: 9.086 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.2496, allocations: 0.736 MB / 0.976 GB, free: 8.348 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.2496, allocations: 4 kB / 0.976 GB, free: 8.344 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2496, allocations: 0 / 0.976 GB, free: 8.344 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.2496, allocations: 0 / 0.976 GB, free: 8.344 MB / 0.9323 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.001059/0.2507, allocations: 0.6349 MB / 0.9767 GB, free: 7.672 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2507, allocations: 8.031 kB / 0.9767 GB, free: 7.664 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007477/0.2515, allocations: 107.5 kB / 0.9768 GB, free: 7.559 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.252, allocations: 244.5 kB / 0.977 GB, free: 7.293 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.252, allocations: 19.98 kB / 0.977 GB, free: 7.273 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.252, allocations: 19.94 kB / 0.977 GB, free: 7.254 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004943/0.2525, allocations: 260 kB / 0.9773 GB, free: 6.965 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.2526, allocations: 11.88 kB / 0.9773 GB, free: 6.953 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.2526, allocations: 8 kB / 0.9773 GB, free: 6.945 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.2526, allocations: 8 kB / 0.9773 GB, free: 6.938 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.2529, allocations: 137.2 kB / 0.9774 GB, free: 6.805 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.2549, allocations: 1.433 MB / 0.9788 GB, free: 5.297 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.2553, allocations: 191.3 kB / 0.979 GB, free: 5.047 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.2554, allocations: 90.41 kB / 0.9791 GB, free: 4.938 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006607/0.2561, allocations: 99.88 kB / 0.9792 GB, free: 4.84 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.2561, allocations: 41.52 kB / 0.9792 GB, free: 4.789 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.2561, allocations: 4 kB / 0.9792 GB, free: 4.785 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13): time 0.0006751/0.2568, allocations: 185.3 kB / 0.9794 GB, free: 4.598 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.2569, allocations: 162.2 kB / 0.9796 GB, free: 4.402 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.2572, allocations: 274.9 kB / 0.9798 GB, free: 4.117 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.2573, allocations: 33.7 kB / 0.9799 GB, free: 4.078 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.2574, allocations: 211.1 kB / 0.9801 GB, free: 3.863 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.294e-05/0.2575, allocations: 56.03 kB / 0.9801 GB, free: 3.809 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/0.2576, allocations: 51.36 kB / 0.9802 GB, free: 3.75 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003008/0.2579, allocations: 0.5079 MB / 0.9807 GB, free: 3.23 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.258, allocations: 31.98 kB / 0.9807 GB, free: 3.199 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.2583, allocations: 247.6 kB / 0.9809 GB, free: 2.891 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.2587, allocations: 177 kB / 0.9811 GB, free: 2.68 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.2587, allocations: 7.938 kB / 0.9811 GB, free: 2.672 MB / 0.9323 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004786/0.2592, allocations: 185.3 kB / 0.9813 GB, free: 2.484 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.2592, allocations: 8 kB / 0.9813 GB, free: 2.477 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2592, allocations: 0 / 0.9813 GB, free: 2.477 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.2592, allocations: 8.25 kB / 0.9813 GB, free: 2.469 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.2594, allocations: 35.92 kB / 0.9813 GB, free: 2.434 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.2594, allocations: 7.984 kB / 0.9813 GB, free: 2.426 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.2596, allocations: 15.89 kB / 0.9814 GB, free: 2.41 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.2596, allocations: 12 kB / 0.9814 GB, free: 2.398 MB / 0.9323 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.000206/0.2598, allocations: 192.4 kB / 0.9816 GB, free: 2.199 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.26, allocations: 23.91 kB / 0.9816 GB, free: 2.176 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004776/0.2604, allocations: 186 kB / 0.9818 GB, free: 1.98 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2604, allocations: 3.938 kB / 0.9818 GB, free: 1.977 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.2605, allocations: 4 kB / 0.9818 GB, free: 1.973 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2605, allocations: 0 / 0.9818 GB, free: 1.973 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.2619, allocations: 1.012 MB / 0.9828 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2619, allocations: 0 / 0.9828 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.2621, allocations: 23.92 kB / 0.9828 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.2621, allocations: 4 kB / 0.9828 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.2621, allocations: 0 / 0.9828 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.2621, allocations: 4 kB / 0.9828 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2621, allocations: 0 / 0.9828 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005619/0.2626, allocations: 366.2 kB / 0.9831 GB, free: 476 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.652e-05/0.2627, allocations: 23.84 kB / 0.9832 GB, free: 452 kB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.2628, allocations: 7.984 kB / 0.9832 GB, free: 444 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.2629, allocations: 8 kB / 0.9832 GB, free: 436 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.2629, allocations: 15.86 kB / 0.9832 GB, free: 420 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.2629, allocations: 4 kB / 0.9832 GB, free: 416 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002037/0.2631, allocations: 213.1 kB / 0.9834 GB, free: 208 kB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.2631, allocations: 0 / 0.9834 GB, free: 208 kB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004881/0.2636, allocations: 103.8 kB / 0.9835 GB, free: 104 kB / 0.9323 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.0004884/0.2641, allocations: 211 kB / 0.9837 GB, free: 15.89 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003496/0.2645, allocations: 113.7 kB / 0.9838 GB, free: 15.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2645, allocations: 3.938 kB / 0.9838 GB, free: 15.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.2646, allocations: 60.42 kB / 0.9839 GB, free: 15.71 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.2652, allocations: 86.89 kB / 0.9839 GB, free: 15.62 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009114/0.2661, allocations: 473.1 kB / 0.9844 GB, free: 15.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.2663, allocations: 146.2 kB / 0.9845 GB, free: 14.95 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001561/0.2664, allocations: 46.16 kB / 0.9846 GB, free: 14.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.545e-05/0.2665, allocations: 24.5 kB / 0.9846 GB, free: 14.88 MB / 0.948 GB Notification: Performance of SimCode: time 4.41e-07/0.2665, allocations: 0 / 0.9846 GB, free: 14.88 MB / 0.948 GB Notification: Performance of Templates: time 0.01083/0.2773, allocations: 4.493 MB / 0.989 GB, free: 10.47 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.887193679925986]