Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001238/0.001238, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001225/0.001225, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.792/2.792, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 71.23 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.826/0.8279, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2014/1.029, allocations: 163.3 MB / 1.242 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006244/1.036, allocations: 4.572 MB / 1.247 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00064/1.036, allocations: 11.94 kB / 1.247 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006228/1.037, allocations: 127 kB / 1.247 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001861/1.039, allocations: 0.5367 MB / 1.247 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002219/1.041, allocations: 0.7577 MB / 1.248 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007675/1.042, allocations: 0.569 MB / 1.249 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003778/1.042, allocations: 213.1 kB / 1.249 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/1.044, allocations: 0.6577 MB / 1.25 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000588/1.044, allocations: 294.8 kB / 1.25 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/1.045, allocations: 20 kB / 1.25 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/1.046, allocations: 0.9938 MB / 1.251 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/1.046, allocations: 91.77 kB / 1.251 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/1.047, allocations: 127.3 kB / 1.251 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/1.048, allocations: 0.7052 MB / 1.252 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.048, allocations: 0 / 1.252 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/1.048, allocations: 0 / 1.252 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.753e-06/1.048, allocations: 4 kB / 1.252 GB, free: 1.453 MB / 0.9669 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.0009842/1.049, allocations: 0.588 MB / 1.252 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/1.049, allocations: 16.03 kB / 1.252 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006685/1.05, allocations: 79.5 kB / 1.252 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/1.05, allocations: 287.3 kB / 1.253 GB, free: 412 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/1.05, allocations: 20 kB / 1.253 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/1.05, allocations: 19.91 kB / 1.253 GB, free: 372 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/1.051, allocations: 287.4 kB / 1.253 GB, free: 56 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/1.051, allocations: 0 / 1.253 GB, free: 56 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/1.051, allocations: 15.94 kB / 1.253 GB, free: 40 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/1.051, allocations: 7.938 kB / 1.253 GB, free: 32 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004848/1.051, allocations: 207.5 kB / 1.253 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/1.053, allocations: 1.238 MB / 1.254 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/1.053, allocations: 173 kB / 1.255 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/1.053, allocations: 112.4 kB / 1.255 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007872/1.054, allocations: 335.2 kB / 1.255 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/1.054, allocations: 34.56 kB / 1.255 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 3.396e-06/1.054, allocations: 3.984 kB / 1.255 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0008115/1.055, allocations: 281 kB / 1.255 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.055, allocations: 166.7 kB / 1.256 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/1.055, allocations: 283 kB / 1.256 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/1.055, allocations: 25.7 kB / 1.256 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/1.056, allocations: 151.8 kB / 1.256 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/1.056, allocations: 51.31 kB / 1.256 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-05/1.056, allocations: 45.61 kB / 1.256 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.056, allocations: 338.8 kB / 1.256 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/1.056, allocations: 71.94 kB / 1.256 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/1.056, allocations: 142.5 kB / 1.257 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/1.057, allocations: 207.5 kB / 1.257 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.057, allocations: 4 kB / 1.257 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005269/1.057, allocations: 245.1 kB / 1.257 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.057, allocations: 4 kB / 1.257 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.057, allocations: 4 kB / 1.257 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/1.057, allocations: 4 kB / 1.257 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/1.058, allocations: 40.17 kB / 1.257 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/1.058, allocations: 7.984 kB / 1.257 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/1.058, allocations: 23.75 kB / 1.257 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/1.058, allocations: 19.92 kB / 1.257 GB, free: 11.53 MB / 0.9825 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.0001596/1.058, allocations: 153.7 kB / 1.257 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/1.058, allocations: 23.72 kB / 1.257 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004917/1.059, allocations: 185.9 kB / 1.257 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/1.059, allocations: 4 kB / 1.257 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/1.059, allocations: 8.312 kB / 1.257 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.059, allocations: 0 / 1.257 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/1.06, allocations: 0.8548 MB / 1.258 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.06, allocations: 4.156 kB / 1.258 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/1.06, allocations: 31.86 kB / 1.258 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/1.06, allocations: 3.938 kB / 1.258 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/1.06, allocations: 4 kB / 1.258 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.06, allocations: 0 / 1.258 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.06, allocations: 4 kB / 1.258 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005922/1.061, allocations: 335.4 kB / 1.259 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/1.061, allocations: 116.7 kB / 1.259 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/1.061, allocations: 7.984 kB / 1.259 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/1.061, allocations: 12.06 kB / 1.259 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/1.061, allocations: 11.92 kB / 1.259 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/1.061, allocations: 4 kB / 1.259 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002502/1.061, allocations: 237.9 kB / 1.259 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/1.061, allocations: 0 / 1.259 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004667/1.062, allocations: 99.92 kB / 1.259 GB, free: 9.305 MB / 0.9825 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.0005691/1.062, allocations: 197.1 kB / 1.259 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004348/1.063, allocations: 164.2 kB / 1.259 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.063, allocations: 4.125 kB / 1.259 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/1.063, allocations: 63.84 kB / 1.26 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007748/1.064, allocations: 142.3 kB / 1.26 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009298/1.065, allocations: 0.5291 MB / 1.26 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/1.065, allocations: 0.7597 MB / 1.261 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/1.065, allocations: 27.38 kB / 1.261 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/1.065, allocations: 0 / 1.261 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of Templates: time 0.008666/1.074, allocations: 5.227 MB / 1.266 GB, free: 2.172 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches