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.001604/0.001604, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.00202/0.00202, allocations: 161.3 kB / 23.54 MB, free: 0.8633 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.489/1.489, allocations: 177.1 MB / 203.9 MB, free: 5.602 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 2.894/2.894, allocations: 377.8 MB / 0.6232 GB, free: 8.508 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.583e-06/1.583e-06, allocations: 0 / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.064e-05/3.222e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2256/0.2257, allocations: 143.9 MB / 0.9513 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.007105/0.2328, allocations: 4.217 MB / 0.9554 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003236/0.2331, allocations: 11.88 kB / 0.9555 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.00051/0.2336, allocations: 131 kB / 0.9556 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.2351, allocations: 0.5829 MB / 0.9562 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.2373, allocations: 0.8289 MB / 0.957 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0008006/0.2381, allocations: 0.565 MB / 0.9575 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003657/0.2384, allocations: 177.4 kB / 0.9577 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.2401, allocations: 0.7472 MB / 0.9584 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006224/0.2408, allocations: 279.1 kB / 0.9587 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.2408, allocations: 24 kB / 0.9587 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.2424, allocations: 0.8722 MB / 0.9596 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.2426, allocations: 91.72 kB / 0.9596 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.2427, allocations: 87.77 kB / 0.9597 GB, free: 9.082 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.244, allocations: 0.7283 MB / 0.9604 GB, free: 8.352 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.244, allocations: 0 / 0.9604 GB, free: 8.352 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.272e-06/0.244, allocations: 0 / 0.9604 GB, free: 8.352 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.244, allocations: 0 / 0.9604 GB, free: 8.352 MB / 0.9167 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.001282/0.2453, allocations: 0.5275 MB / 0.961 GB, free: 7.793 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2453, allocations: 16.03 kB / 0.961 GB, free: 7.777 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007951/0.2461, allocations: 111.5 kB / 0.9611 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/0.2466, allocations: 249.5 kB / 0.9613 GB, free: 7.398 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.2466, allocations: 12 kB / 0.9613 GB, free: 7.387 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.656e-05/0.2467, allocations: 20 kB / 0.9613 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/0.2473, allocations: 296.1 kB / 0.9616 GB, free: 7.051 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.2473, allocations: 4 kB / 0.9616 GB, free: 7.047 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.2473, allocations: 4 kB / 0.9616 GB, free: 7.043 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.2474, allocations: 4 kB / 0.9616 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004859/0.2478, allocations: 207.5 kB / 0.9618 GB, free: 6.836 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.2496, allocations: 1.109 MB / 0.9629 GB, free: 5.664 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.25, allocations: 172.9 kB / 0.9631 GB, free: 5.449 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.2502, allocations: 112.2 kB / 0.9632 GB, free: 5.324 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000716/0.251, allocations: 104 kB / 0.9633 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/0.251, allocations: 38.56 kB / 0.9633 GB, free: 5.176 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.251, allocations: 0 / 0.9633 GB, free: 5.176 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0008829/0.2519, allocations: 281.6 kB / 0.9636 GB, free: 4.895 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.252, allocations: 162.2 kB / 0.9637 GB, free: 4.699 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.2523, allocations: 200.3 kB / 0.9639 GB, free: 4.496 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.2523, allocations: 29.7 kB / 0.964 GB, free: 4.461 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.2525, allocations: 156.3 kB / 0.9641 GB, free: 4.301 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/0.2525, allocations: 51.53 kB / 0.9642 GB, free: 4.25 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.885e-05/0.2526, allocations: 41.7 kB / 0.9642 GB, free: 4.203 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.2528, allocations: 326.8 kB / 0.9645 GB, free: 3.875 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.253, allocations: 72.06 kB / 0.9646 GB, free: 3.805 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.2533, allocations: 248.3 kB / 0.9648 GB, free: 3.508 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.2538, allocations: 223.4 kB / 0.965 GB, free: 3.258 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.2538, allocations: 3.938 kB / 0.965 GB, free: 3.254 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006086/0.2544, allocations: 245.2 kB / 0.9653 GB, free: 3.008 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2544, allocations: 4 kB / 0.9653 GB, free: 3.004 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.2545, allocations: 4.25 kB / 0.9653 GB, free: 3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.2545, allocations: 12 kB / 0.9653 GB, free: 2.988 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.2547, allocations: 39.91 kB / 0.9653 GB, free: 2.949 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.2547, allocations: 0 / 0.9653 GB, free: 2.949 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.2549, allocations: 27.88 kB / 0.9654 GB, free: 2.922 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.2549, allocations: 12 kB / 0.9654 GB, free: 2.91 MB / 0.9167 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.0001721/0.2551, allocations: 145.7 kB / 0.9655 GB, free: 2.758 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.2553, allocations: 39.78 kB / 0.9655 GB, free: 2.719 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005231/0.2558, allocations: 177.9 kB / 0.9657 GB, free: 2.531 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2558, allocations: 7.938 kB / 0.9657 GB, free: 2.523 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2558, allocations: 0 / 0.9657 GB, free: 2.523 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2558, allocations: 4 kB / 0.9657 GB, free: 2.52 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.257, allocations: 0.7727 MB / 0.9665 GB, free: 1.691 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.257, allocations: 0 / 0.9665 GB, free: 1.691 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.2571, allocations: 23.92 kB / 0.9665 GB, free: 1.668 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.2571, allocations: 4 kB / 0.9665 GB, free: 1.664 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.2571, allocations: 8 kB / 0.9665 GB, free: 1.656 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2571, allocations: 160 / 0.9665 GB, free: 1.656 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2571, allocations: 4 kB / 0.9665 GB, free: 1.652 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006716/0.2578, allocations: 335.5 kB / 0.9668 GB, free: 1.293 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/0.2579, allocations: 31.86 kB / 0.9669 GB, free: 1.262 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.496e-05/0.2579, allocations: 4.062 kB / 0.9669 GB, free: 1.258 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.2581, allocations: 15.98 kB / 0.9669 GB, free: 1.242 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.2581, allocations: 15.92 kB / 0.9669 GB, free: 1.227 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.2581, allocations: 4 kB / 0.9669 GB, free: 1.223 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002011/0.2583, allocations: 181.3 kB / 0.9671 GB, free: 1.051 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.2583, allocations: 0 / 0.9671 GB, free: 1.051 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005184/0.2589, allocations: 103.8 kB / 0.9672 GB, free: 0.9492 MB / 0.9167 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.0004852/0.2593, allocations: 218.9 kB / 0.9674 GB, free: 0.7266 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005061/0.2598, allocations: 147.7 kB / 0.9675 GB, free: 0.582 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2598, allocations: 0 / 0.9675 GB, free: 0.582 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.26, allocations: 59.89 kB / 0.9676 GB, free: 0.5234 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005954/0.2606, allocations: 80.7 kB / 0.9677 GB, free: 460 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009023/0.2615, allocations: 473.3 kB / 0.9681 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.2617, allocations: 150.1 kB / 0.9683 GB, free: 15.78 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.2619, allocations: 58.06 kB / 0.9683 GB, free: 15.72 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/0.2619, allocations: 20.5 kB / 0.9683 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of SimCode: time 4.41e-07/0.2619, allocations: 0 / 0.9683 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.01082/0.2727, allocations: 4.48 MB / 0.9727 GB, free: 11.31 MB / 0.9323 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 400] 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.398641171050258]