Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009313/0.000931, allocations: 91.45 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005585/0.005585, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.562/2.562, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003988, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7494/0.7499, allocations: 142.4 MB / 0.955 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1951/0.945, allocations: 158.9 MB / 1.11 GB, free: 152 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006319/0.9514, allocations: 4.563 MB / 1.115 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003855/0.9518, allocations: 7.938 kB / 1.115 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005308/0.9523, allocations: 107.3 kB / 1.115 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.9542, allocations: 0.502 MB / 1.115 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.9565, allocations: 0.7141 MB / 1.116 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001143/0.9577, allocations: 0.8069 MB / 1.117 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004351/0.9581, allocations: 181.4 kB / 1.117 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.9593, allocations: 426.4 kB / 1.117 GB, free: 8.84 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007708/0.96, allocations: 290.9 kB / 1.118 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.9601, allocations: 12 kB / 1.118 GB, free: 8.543 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002151/0.9623, allocations: 1.157 MB / 1.119 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.9624, allocations: 83.72 kB / 1.119 GB, free: 7.301 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002266/0.9627, allocations: 137.1 kB / 1.119 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.9643, allocations: 0.7712 MB / 1.12 GB, free: 6.387 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.9643, allocations: 0 / 1.12 GB, free: 6.387 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.056e-06/0.9643, allocations: 4 kB / 1.12 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.9643, allocations: 0 / 1.12 GB, free: 6.383 MB / 0.8731 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.001275/0.9656, allocations: 0.5451 MB / 1.12 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.9657, allocations: 12.03 kB / 1.12 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008286/0.9665, allocations: 79.53 kB / 1.12 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.967, allocations: 283.3 kB / 1.121 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.967, allocations: 20 kB / 1.121 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.9671, allocations: 16 kB / 1.121 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000545/0.9676, allocations: 291.4 kB / 1.121 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.9676, allocations: 0 / 1.121 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.9677, allocations: 12 kB / 1.121 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.9677, allocations: 7.938 kB / 1.121 GB, free: 5.016 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005048/0.9682, allocations: 215.8 kB / 1.121 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.9701, allocations: 1.257 MB / 1.122 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.9704, allocations: 177 kB / 1.123 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.9707, allocations: 120.4 kB / 1.123 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007773/0.9715, allocations: 351.2 kB / 1.123 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.9715, allocations: 38.56 kB / 1.123 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.883e-06/0.9715, allocations: 0 / 1.123 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0008542/0.9724, allocations: 293.6 kB / 1.123 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.489e-05/0.9725, allocations: 162.5 kB / 1.123 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.9728, allocations: 290.9 kB / 1.124 GB, free: 1.883 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.9728, allocations: 25.7 kB / 1.124 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.973, allocations: 151.8 kB / 1.124 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.973, allocations: 51.23 kB / 1.124 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.9731, allocations: 17.72 kB / 1.124 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.9732, allocations: 346.8 kB / 1.124 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.9734, allocations: 71.94 kB / 1.124 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.9736, allocations: 150.2 kB / 1.125 GB, free: 1.031 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.9741, allocations: 215.5 kB / 1.125 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.9741, allocations: 4 kB / 1.125 GB, free: 0.7891 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005437/0.9746, allocations: 257 kB / 1.125 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.9747, allocations: 8.25 kB / 1.125 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.9747, allocations: 4 kB / 1.125 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.9747, allocations: 4 kB / 1.125 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.9749, allocations: 43.92 kB / 1.125 GB, free: 484 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.9749, allocations: 8.047 kB / 1.125 GB, free: 476 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.9751, allocations: 27.83 kB / 1.125 GB, free: 448 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.9752, allocations: 15.94 kB / 1.125 GB, free: 432 kB / 0.8731 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.0001535/0.9753, allocations: 157.7 kB / 1.125 GB, free: 264 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.9755, allocations: 27.72 kB / 1.125 GB, free: 236 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005134/0.976, allocations: 197.7 kB / 1.125 GB, free: 24 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.976, allocations: 4 kB / 1.125 GB, free: 20 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.976, allocations: 0 / 1.125 GB, free: 20 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.976, allocations: 4 kB / 1.125 GB, free: 16 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.9771, allocations: 0.8628 MB / 1.126 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.9771, allocations: 0 / 1.126 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.9772, allocations: 27.97 kB / 1.126 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.9772, allocations: 7.922 kB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.9773, allocations: 8 kB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.9773, allocations: 4 kB / 1.126 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9773, allocations: 0 / 1.126 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006035/0.9779, allocations: 363.5 kB / 1.127 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.978, allocations: 128.7 kB / 1.127 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.9781, allocations: 0 / 1.127 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.9782, allocations: 19.92 kB / 1.127 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.9783, allocations: 15.98 kB / 1.127 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.9783, allocations: 4 kB / 1.127 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002352/0.9786, allocations: 237.9 kB / 1.127 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9786, allocations: 0 / 1.127 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004728/0.979, allocations: 95.89 kB / 1.127 GB, free: 14.13 MB / 0.8887 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.0005471/0.9796, allocations: 210.8 kB / 1.127 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004458/0.98, allocations: 164.2 kB / 1.128 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9801, allocations: 0 / 1.128 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.9802, allocations: 63.84 kB / 1.128 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008559/0.9811, allocations: 134.8 kB / 1.128 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008461/0.9819, allocations: 0.581 MB / 1.128 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.9823, allocations: 0.7677 MB / 1.129 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002213/0.9825, allocations: 58.95 kB / 1.129 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.86e-05/0.9826, allocations: 27.42 kB / 1.129 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of SimCode: time 2.725e-06/0.9826, allocations: 0 / 1.129 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of Templates: time 0.01109/0.9937, allocations: 5.555 MB / 1.135 GB, free: 6.586 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches