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.001138/0.001138, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001159/0.001159, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.625/2.625, allocations: 437 MB / 0.71 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.89 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6561/0.6575, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1696/0.8271, allocations: 161 MB / 1.174 GB, free: 1.105 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005945/0.8331, allocations: 4.545 MB / 1.178 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005125/0.8336, allocations: 7.938 kB / 1.178 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005042/0.8342, allocations: 103.4 kB / 1.179 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.8357, allocations: 0.5136 MB / 1.179 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.8375, allocations: 0.7163 MB / 1.18 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007597/0.8383, allocations: 0.5728 MB / 1.18 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004157/0.8387, allocations: 209.1 kB / 1.181 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.8399, allocations: 454.4 kB / 1.181 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006105/0.8405, allocations: 302.9 kB / 1.181 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.8406, allocations: 16 kB / 1.181 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.8423, allocations: 1.052 MB / 1.182 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.8424, allocations: 83.78 kB / 1.182 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.8426, allocations: 135.3 kB / 1.183 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.8437, allocations: 0.7635 MB / 1.183 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8437, allocations: 0 / 1.183 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8437, allocations: 0 / 1.183 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.8437, allocations: 0 / 1.183 GB, free: 7.625 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.0009607/0.8447, allocations: 0.5919 MB / 1.184 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.8447, allocations: 8.031 kB / 1.184 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006905/0.8454, allocations: 79.58 kB / 1.184 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.8458, allocations: 287.3 kB / 1.184 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.8459, allocations: 12 kB / 1.184 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.042e-05/0.8459, allocations: 24 kB / 1.184 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/0.8465, allocations: 283.4 kB / 1.184 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.8465, allocations: 11.86 kB / 1.185 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.8466, allocations: 7.938 kB / 1.185 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.8466, allocations: 11.94 kB / 1.185 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004649/0.8471, allocations: 203.5 kB / 1.185 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.8491, allocations: 1.249 MB / 1.186 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.8495, allocations: 177 kB / 1.186 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.8497, allocations: 112.4 kB / 1.186 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008977/0.8506, allocations: 327.1 kB / 1.187 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.8507, allocations: 42.56 kB / 1.187 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 2.475e-06/0.8507, allocations: 0 / 1.187 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0009229/0.8516, allocations: 277.6 kB / 1.187 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.8517, allocations: 162.2 kB / 1.187 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.8521, allocations: 290.9 kB / 1.187 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.8521, allocations: 25.7 kB / 1.187 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.8523, allocations: 143.9 kB / 1.187 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.8524, allocations: 51.28 kB / 1.187 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.8525, allocations: 41.7 kB / 1.188 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.8526, allocations: 338.8 kB / 1.188 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.8528, allocations: 75.88 kB / 1.188 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.8531, allocations: 145.9 kB / 1.188 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.8535, allocations: 219.5 kB / 1.188 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.8535, allocations: 0 / 1.188 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005311/0.854, allocations: 237 kB / 1.188 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.8541, allocations: 8 kB / 1.188 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.8541, allocations: 0 / 1.188 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.8541, allocations: 4.25 kB / 1.188 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.8543, allocations: 47.91 kB / 1.189 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.8543, allocations: 8 kB / 1.189 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.8545, allocations: 27.83 kB / 1.189 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.8546, allocations: 11.94 kB / 1.189 GB, free: 1.703 MB / 0.9356 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.000162/0.8548, allocations: 150.1 kB / 1.189 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.8549, allocations: 23.72 kB / 1.189 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004933/0.8554, allocations: 197.6 kB / 1.189 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.8554, allocations: 4 kB / 1.189 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.8554, allocations: 7.938 kB / 1.189 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.8555, allocations: 0 / 1.189 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.8565, allocations: 0.851 MB / 1.19 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.8565, allocations: 0 / 1.19 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.8566, allocations: 27.92 kB / 1.19 GB, free: 356 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.8566, allocations: 7.938 kB / 1.19 GB, free: 348 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.8566, allocations: 4 kB / 1.19 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.8566, allocations: 3.984 kB / 1.19 GB, free: 340 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.8567, allocations: 4 kB / 1.19 GB, free: 336 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005591/0.8572, allocations: 331.5 kB / 1.19 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.9e-05/0.8573, allocations: 120.7 kB / 1.19 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.8574, allocations: 0 / 1.19 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.8576, allocations: 16.05 kB / 1.19 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.8576, allocations: 8.125 kB / 1.19 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.8576, allocations: 11.94 kB / 1.19 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002302/0.8579, allocations: 233.9 kB / 1.191 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8579, allocations: 0 / 1.191 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004651/0.8583, allocations: 99.83 kB / 1.191 GB, free: 15.47 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.0005415/0.8589, allocations: 225.3 kB / 1.191 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003991/0.8593, allocations: 152 kB / 1.191 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8593, allocations: 0 / 1.191 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.8595, allocations: 63.83 kB / 1.191 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007863/0.8603, allocations: 131.9 kB / 1.191 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000854/0.8611, allocations: 0.5586 MB / 1.192 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.8615, allocations: 0.7558 MB / 1.192 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002117/0.8617, allocations: 62.88 kB / 1.193 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.8618, allocations: 31.44 kB / 1.193 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of SimCode: time 3.2e-07/0.8618, allocations: 0 / 1.193 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of Templates: time 0.01045/0.8722, allocations: 5.742 MB / 1.198 GB, free: 7.773 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