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.00151/0.00151, allocations: 102.2 kB / 16.27 MB, free: 5.859 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.001407/0.001407, allocations: 188.7 kB / 17.19 MB, free: 5.508 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.418/1.418, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.647/2.647, allocations: 437.1 MB / 0.711 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001922, allocations: 70.52 kB / 0.8699 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3325, allocations: 151.6 MB / 1.018 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.7682/1.101, allocations: 163.2 MB / 1.177 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006503/1.107, allocations: 4.575 MB / 1.182 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004276/1.108, allocations: 10.47 kB / 1.182 GB, free: 7.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004725/1.108, allocations: 129 kB / 1.182 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/1.11, allocations: 0.5324 MB / 1.183 GB, free: 6.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002192/1.112, allocations: 0.765 MB / 1.183 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000911/1.113, allocations: 0.581 MB / 1.184 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004307/1.113, allocations: 214.1 kB / 1.184 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/1.114, allocations: 464.6 kB / 1.184 GB, free: 5.68 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000603/1.115, allocations: 290.5 kB / 1.185 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/1.115, allocations: 17.88 kB / 1.185 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/1.117, allocations: 1.001 MB / 1.186 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001422/1.118, allocations: 89.58 kB / 1.186 GB, free: 4.891 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001752/1.118, allocations: 120.9 kB / 1.186 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001387/1.119, allocations: 0.7115 MB / 1.187 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.119, allocations: 0 / 1.187 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.253e-06/1.119, allocations: 0 / 1.187 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.903e-06/1.119, allocations: 1.125 kB / 1.187 GB, free: 4.387 MB / 0.8887 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.001053/1.12, allocations: 0.5921 MB / 1.187 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/1.12, allocations: 9.547 kB / 1.187 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007379/1.121, allocations: 78.8 kB / 1.187 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/1.121, allocations: 295.1 kB / 1.188 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/1.122, allocations: 11.91 kB / 1.188 GB, free: 3.52 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.607e-05/1.122, allocations: 17.66 kB / 1.188 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/1.122, allocations: 291.3 kB / 1.188 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/1.122, allocations: 8.312 kB / 1.188 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/1.122, allocations: 6.156 kB / 1.188 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/1.122, allocations: 8.062 kB / 1.188 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004783/1.123, allocations: 209.3 kB / 1.188 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/1.124, allocations: 1.241 MB / 1.189 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/1.125, allocations: 171.2 kB / 1.189 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/1.125, allocations: 116.5 kB / 1.19 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008172/1.126, allocations: 333.5 kB / 1.19 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/1.126, allocations: 38.55 kB / 1.19 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/1.126, allocations: 2.219 kB / 1.19 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.0008136/1.127, allocations: 276.9 kB / 1.19 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/1.127, allocations: 161.1 kB / 1.19 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/1.127, allocations: 285.8 kB / 1.191 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/1.127, allocations: 32.64 kB / 1.191 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/1.127, allocations: 142.3 kB / 1.191 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/1.127, allocations: 55.66 kB / 1.191 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-05/1.127, allocations: 36.33 kB / 1.191 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001707/1.128, allocations: 340.4 kB / 1.191 GB, free: 352 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/1.128, allocations: 74.19 kB / 1.191 GB, free: 316 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/1.128, allocations: 138.3 kB / 1.191 GB, free: 196 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/1.128, allocations: 215.3 kB / 1.192 GB, free: 36 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.128, allocations: 0 / 1.192 GB, free: 36 kB / 0.8887 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005528/1.129, allocations: 243 kB / 1.192 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.129, allocations: 8.312 kB / 1.192 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.129, allocations: 4 kB / 1.192 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/1.129, allocations: 5.031 kB / 1.192 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/1.129, allocations: 45.06 kB / 1.192 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/1.129, allocations: 2.969 kB / 1.192 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/1.13, allocations: 21.7 kB / 1.192 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/1.13, allocations: 18.34 kB / 1.192 GB, free: 15.86 MB / 0.9044 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.0001587/1.13, allocations: 150 kB / 1.192 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/1.13, allocations: 37.23 kB / 1.192 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004843/1.13, allocations: 186.8 kB / 1.192 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.13, allocations: 2.344 kB / 1.192 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.13, allocations: 3.406 kB / 1.192 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.13, allocations: 0 / 1.192 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/1.132, allocations: 0.852 MB / 1.193 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/1.132, allocations: 2.875 kB / 1.193 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/1.132, allocations: 21.73 kB / 1.193 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/1.132, allocations: 10.12 kB / 1.193 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/1.132, allocations: 10.45 kB / 1.193 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.132, allocations: 2.938 kB / 1.193 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.132, allocations: 0 / 1.193 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006238/1.132, allocations: 335.3 kB / 1.194 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/1.132, allocations: 115.6 kB / 1.194 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/1.133, allocations: 10.62 kB / 1.194 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/1.133, allocations: 7.984 kB / 1.194 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/1.133, allocations: 9.312 kB / 1.194 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/1.133, allocations: 4.719 kB / 1.194 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002783/1.133, allocations: 237.7 kB / 1.194 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.3e-07/1.133, allocations: 0 / 1.194 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006053/1.134, allocations: 99.52 kB / 1.194 GB, free: 14.16 MB / 0.9044 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.0006013/1.134, allocations: 228.1 kB / 1.194 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004393/1.135, allocations: 151.1 kB / 1.194 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.135, allocations: 9.031 kB / 1.194 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/1.135, allocations: 60.48 kB / 1.194 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008106/1.136, allocations: 145 kB / 1.195 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009532/1.137, allocations: 0.5201 MB / 1.195 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/1.137, allocations: 0.7573 MB / 1.196 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.008e-05/1.137, allocations: 33.39 kB / 1.196 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of SimCode: time 3.3e-07/1.137, allocations: 0 / 1.196 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of Templates: time 0.008602/1.146, allocations: 5.237 MB / 1.201 GB, free: 9.988 MB / 0.9044 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches