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.001606/0.001606, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001899/0.001899, allocations: 198.9 kB / 16.14 MB, free: 6.711 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.521/1.521, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.802/2.802, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 67.89 kB / 0.8686 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8626/0.8645, allocations: 151.6 MB / 1.017 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2084/1.073, allocations: 161 MB / 1.174 GB, free: 1.316 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006705/1.08, allocations: 4.623 MB / 1.178 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003959/1.08, allocations: 7.938 kB / 1.178 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005306/1.081, allocations: 107.3 kB / 1.178 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/1.082, allocations: 0.5136 MB / 1.179 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001876/1.084, allocations: 0.7007 MB / 1.18 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009877/1.085, allocations: 0.8108 MB / 1.18 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/1.085, allocations: 177.5 kB / 1.181 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/1.087, allocations: 430.3 kB / 1.181 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006733/1.087, allocations: 294.9 kB / 1.181 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/1.087, allocations: 12 kB / 1.181 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/1.089, allocations: 1.165 MB / 1.182 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/1.089, allocations: 91.7 kB / 1.183 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/1.09, allocations: 111.4 kB / 1.183 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/1.091, allocations: 0.7751 MB / 1.183 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/1.091, allocations: 0 / 1.183 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.51e-07/1.091, allocations: 0 / 1.183 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.099e-06/1.091, allocations: 4 kB / 1.183 GB, free: 7.488 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.001052/1.092, allocations: 0.5842 MB / 1.184 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/1.092, allocations: 12.03 kB / 1.184 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006938/1.093, allocations: 79.52 kB / 1.184 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/1.093, allocations: 287.2 kB / 1.184 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/1.093, allocations: 20 kB / 1.184 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/1.093, allocations: 20 kB / 1.184 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/1.094, allocations: 291.4 kB / 1.185 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.094, allocations: 0 / 1.185 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/1.094, allocations: 12 kB / 1.185 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/1.094, allocations: 7.938 kB / 1.185 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004628/1.094, allocations: 207.5 kB / 1.185 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/1.096, allocations: 1.245 MB / 1.186 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/1.096, allocations: 169 kB / 1.186 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/1.096, allocations: 116.4 kB / 1.186 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008411/1.097, allocations: 335.1 kB / 1.187 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/1.097, allocations: 42.55 kB / 1.187 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 2.274e-06/1.097, allocations: 0 / 1.187 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0008106/1.098, allocations: 281 kB / 1.187 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/1.098, allocations: 162.2 kB / 1.187 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/1.099, allocations: 283 kB / 1.187 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/1.099, allocations: 29.7 kB / 1.187 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/1.099, allocations: 144.4 kB / 1.188 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/1.099, allocations: 51.3 kB / 1.188 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.18e-05/1.099, allocations: 41.7 kB / 1.188 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002313/1.099, allocations: 334.8 kB / 1.188 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/1.099, allocations: 71.88 kB / 1.188 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/1.1, allocations: 150.8 kB / 1.188 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/1.1, allocations: 215.5 kB / 1.188 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.1, allocations: 0 / 1.188 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005469/1.101, allocations: 249.2 kB / 1.189 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.101, allocations: 4 kB / 1.189 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/1.101, allocations: 8 kB / 1.189 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/1.101, allocations: 0 / 1.189 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/1.101, allocations: 47.84 kB / 1.189 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/1.101, allocations: 0 / 1.189 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/1.101, allocations: 27.83 kB / 1.189 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/1.101, allocations: 24.09 kB / 1.189 GB, free: 1.559 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.0001557/1.101, allocations: 141.8 kB / 1.189 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/1.102, allocations: 27.7 kB / 1.189 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005843/1.102, allocations: 190.1 kB / 1.189 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/1.102, allocations: 4 kB / 1.189 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.102, allocations: 0 / 1.189 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/1.102, allocations: 0 / 1.189 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/1.103, allocations: 0.851 MB / 1.19 GB, free: 256 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.103, allocations: 0 / 1.19 GB, free: 256 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/1.103, allocations: 27.92 kB / 1.19 GB, free: 228 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/1.103, allocations: 3.938 kB / 1.19 GB, free: 224 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/1.103, allocations: 7.984 kB / 1.19 GB, free: 216 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.103, allocations: 4.156 kB / 1.19 GB, free: 212 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.103, allocations: 4 kB / 1.19 GB, free: 208 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006899/1.104, allocations: 339.5 kB / 1.19 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/1.104, allocations: 116.7 kB / 1.19 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/1.104, allocations: 16.03 kB / 1.19 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/1.105, allocations: 7.984 kB / 1.19 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/1.105, allocations: 11.92 kB / 1.19 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/1.105, allocations: 8 kB / 1.19 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002553/1.105, allocations: 238 kB / 1.191 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/1.105, allocations: 0 / 1.191 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004896/1.105, allocations: 95.94 kB / 1.191 GB, free: 15.33 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.000591/1.106, allocations: 220.2 kB / 1.191 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004214/1.106, allocations: 143.7 kB / 1.191 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.106, allocations: 0 / 1.191 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/1.107, allocations: 64.58 kB / 1.191 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008059/1.107, allocations: 133.6 kB / 1.191 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008833/1.108, allocations: 0.556 MB / 1.192 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/1.109, allocations: 0.756 MB / 1.193 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002172/1.109, allocations: 74.98 kB / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.112e-05/1.109, allocations: 27.44 kB / 1.193 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/1.109, allocations: 0 / 1.193 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of Templates: time 0.0119/1.121, allocations: 5.577 MB / 1.198 GB, free: 7.793 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=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/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