Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001489/0.001489, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 191.8 kB / 16.53 MB, free: 6.664 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.535/2.535, allocations: 437 MB / 0.7103 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.89 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6768/0.6781, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.179/0.8571, allocations: 163.2 MB / 1.177 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006304/0.8635, allocations: 4.577 MB / 1.181 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004826/0.864, allocations: 11.94 kB / 1.181 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.8646, allocations: 127.1 kB / 1.181 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.8662, allocations: 0.5406 MB / 1.182 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.8681, allocations: 0.763 MB / 1.183 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006959/0.8688, allocations: 0.5768 MB / 1.183 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003549/0.8692, allocations: 213.1 kB / 1.183 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009492/0.8701, allocations: 462.3 kB / 1.184 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005711/0.8707, allocations: 298.8 kB / 1.184 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.8708, allocations: 16 kB / 1.184 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.8724, allocations: 1.005 MB / 1.185 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.8725, allocations: 83.78 kB / 1.185 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.8727, allocations: 131.3 kB / 1.185 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.8737, allocations: 0.6975 MB / 1.186 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.8737, allocations: 0 / 1.186 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8738, allocations: 4 kB / 1.186 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.8738, allocations: 0 / 1.186 GB, free: 5.125 MB / 0.9356 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.0009862/0.8748, allocations: 0.5996 MB / 1.187 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.8748, allocations: 8.031 kB / 1.187 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006715/0.8755, allocations: 75.59 kB / 1.187 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.8759, allocations: 291.3 kB / 1.187 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.8759, allocations: 12 kB / 1.187 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/0.876, allocations: 20 kB / 1.187 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004963/0.8765, allocations: 287.4 kB / 1.187 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.8765, allocations: 0 / 1.187 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.8765, allocations: 15.94 kB / 1.187 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.8765, allocations: 7.938 kB / 1.187 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004363/0.877, allocations: 207.5 kB / 1.187 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.8786, allocations: 1.242 MB / 1.189 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.8789, allocations: 173.2 kB / 1.189 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.8791, allocations: 116.2 kB / 1.189 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007643/0.8799, allocations: 339.2 kB / 1.189 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.8799, allocations: 30.56 kB / 1.189 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.8799, allocations: 3.938 kB / 1.189 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0007743/0.8807, allocations: 277.6 kB / 1.19 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.8808, allocations: 162.5 kB / 1.19 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.8811, allocations: 290.9 kB / 1.19 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.8811, allocations: 29.7 kB / 1.19 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.8812, allocations: 143.9 kB / 1.19 GB, free: 480 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.003e-05/0.8813, allocations: 51.23 kB / 1.19 GB, free: 428 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.4e-05/0.8814, allocations: 41.7 kB / 1.19 GB, free: 380 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.8815, allocations: 342.8 kB / 1.191 GB, free: 28 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.8817, allocations: 71.94 kB / 1.191 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.882, allocations: 136.5 kB / 1.191 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.8823, allocations: 215.5 kB / 1.191 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.8824, allocations: 0 / 1.191 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005328/0.8829, allocations: 253 kB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.8829, allocations: 4.25 kB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.8829, allocations: 8 kB / 1.191 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.883, allocations: 4 kB / 1.191 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.8832, allocations: 35.92 kB / 1.191 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.8832, allocations: 4 kB / 1.191 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.8834, allocations: 23.83 kB / 1.191 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.8834, allocations: 19.92 kB / 1.191 GB, free: 15.2 MB / 0.9512 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.0001361/0.8836, allocations: 149.7 kB / 1.191 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.8838, allocations: 23.72 kB / 1.191 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004784/0.8842, allocations: 193.8 kB / 1.192 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.8843, allocations: 4 kB / 1.192 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8843, allocations: 3.938 kB / 1.192 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.8843, allocations: 7.938 kB / 1.192 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009695/0.8853, allocations: 0.8433 MB / 1.192 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.8853, allocations: 0 / 1.192 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.8854, allocations: 27.92 kB / 1.192 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.8854, allocations: 3.938 kB / 1.192 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.8854, allocations: 4.125 kB / 1.192 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.8855, allocations: 4 kB / 1.192 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8855, allocations: 4 kB / 1.192 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.886, allocations: 339.5 kB / 1.193 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.773e-05/0.8862, allocations: 120.8 kB / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.8862, allocations: 4 kB / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.8864, allocations: 11.98 kB / 1.193 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.8864, allocations: 11.92 kB / 1.193 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.8864, allocations: 4 kB / 1.193 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002346/0.8867, allocations: 237.9 kB / 1.193 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8867, allocations: 0 / 1.193 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000475/0.8872, allocations: 99.83 kB / 1.193 GB, free: 12.98 MB / 0.9512 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.0005272/0.8877, allocations: 210.8 kB / 1.193 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004223/0.8881, allocations: 159.8 kB / 1.194 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8881, allocations: 0 / 1.194 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.8883, allocations: 59.91 kB / 1.194 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007903/0.8891, allocations: 138.3 kB / 1.194 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008866/0.89, allocations: 0.496 MB / 1.194 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.8903, allocations: 0.7636 MB / 1.195 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002051/0.8905, allocations: 70.77 kB / 1.195 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.8906, allocations: 23.42 kB / 1.195 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of SimCode: time 2.8e-07/0.8906, allocations: 3.938 kB / 1.195 GB, free: 11 MB / 0.9512 GB Notification: Performance of Templates: time 0.011/0.9016, allocations: 5.81 MB / 1.201 GB, free: 5.262 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches