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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001717/0.001717, allocations: 106.4 kB / 15.99 MB, free: 6.352 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.001999/0.001999, allocations: 193 kB / 16.91 MB, free: 6.184 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.334/1.334, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.585/2.585, allocations: 469.4 MB / 0.7423 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.66 kB / 0.9083 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3236, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.8034/1.127, allocations: 161 MB / 1.221 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005918/1.133, allocations: 4.55 MB / 1.225 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003911/1.133, allocations: 9.344 kB / 1.225 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004766/1.134, allocations: 105.3 kB / 1.226 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00166/1.136, allocations: 0.5143 MB / 1.226 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/1.138, allocations: 0.7052 MB / 1.227 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007599/1.138, allocations: 0.5795 MB / 1.227 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/1.139, allocations: 203.6 kB / 1.227 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/1.14, allocations: 452.6 kB / 1.228 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006238/1.14, allocations: 299 kB / 1.228 GB, free: 236 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/1.141, allocations: 22.22 kB / 1.228 GB, free: 232 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/1.142, allocations: 1.054 MB / 1.229 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/1.142, allocations: 84.38 kB / 1.229 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001513/1.142, allocations: 126.8 kB / 1.229 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007584/1.143, allocations: 0.491 MB / 1.23 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.143, allocations: 2.125 kB / 1.23 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.302e-06/1.143, allocations: 3.938 kB / 1.23 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.386e-06/1.143, allocations: 0 / 1.23 GB, free: 15.22 MB / 0.9512 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.001012/1.144, allocations: 0.5908 MB / 1.23 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/1.144, allocations: 10.72 kB / 1.231 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007208/1.145, allocations: 79.14 kB / 1.231 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/1.145, allocations: 291.2 kB / 1.231 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/1.145, allocations: 15.94 kB / 1.231 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/1.146, allocations: 24.67 kB / 1.231 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005541/1.146, allocations: 293.3 kB / 1.231 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/1.146, allocations: 0 / 1.231 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/1.146, allocations: 8 kB / 1.231 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/1.146, allocations: 7.938 kB / 1.231 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004362/1.147, allocations: 207.5 kB / 1.231 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/1.148, allocations: 1.238 MB / 1.233 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/1.149, allocations: 173 kB / 1.233 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/1.149, allocations: 116.2 kB / 1.233 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007732/1.15, allocations: 327.2 kB / 1.233 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/1.15, allocations: 46.69 kB / 1.233 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/1.15, allocations: 0 / 1.233 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0007536/1.15, allocations: 281 kB / 1.233 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/1.15, allocations: 162.7 kB / 1.234 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/1.151, allocations: 283 kB / 1.234 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/1.151, allocations: 29.7 kB / 1.234 GB, free: 11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/1.151, allocations: 147.8 kB / 1.234 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/1.151, allocations: 51.3 kB / 1.234 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/1.151, allocations: 37.7 kB / 1.234 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.151, allocations: 338.8 kB / 1.234 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/1.151, allocations: 67.95 kB / 1.235 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/1.152, allocations: 154.4 kB / 1.235 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/1.152, allocations: 215.5 kB / 1.235 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.152, allocations: 0 / 1.235 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005007/1.153, allocations: 241.1 kB / 1.235 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/1.153, allocations: 4 kB / 1.235 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.153, allocations: 4 kB / 1.235 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/1.153, allocations: 4.234 kB / 1.235 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/1.153, allocations: 43.98 kB / 1.235 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/1.153, allocations: 5.172 kB / 1.235 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/1.153, allocations: 23.83 kB / 1.235 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/1.153, allocations: 16.05 kB / 1.235 GB, free: 9.598 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.0001459/1.153, allocations: 151.7 kB / 1.235 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/1.153, allocations: 35.55 kB / 1.235 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004621/1.154, allocations: 187.8 kB / 1.236 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.154, allocations: 11.98 kB / 1.236 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/1.154, allocations: 0 / 1.236 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.154, allocations: 0 / 1.236 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009444/1.155, allocations: 0.855 MB / 1.236 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.155, allocations: 0 / 1.236 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/1.155, allocations: 23.98 kB / 1.236 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/1.155, allocations: 3.938 kB / 1.236 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/1.155, allocations: 8 kB / 1.236 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/1.155, allocations: 0 / 1.236 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.155, allocations: 7.938 kB / 1.236 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005463/1.156, allocations: 331.5 kB / 1.237 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.982e-05/1.156, allocations: 116.8 kB / 1.237 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/1.156, allocations: 11.84 kB / 1.237 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/1.156, allocations: 12.05 kB / 1.237 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/1.156, allocations: 11.98 kB / 1.237 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/1.156, allocations: 7.938 kB / 1.237 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002287/1.156, allocations: 233.9 kB / 1.237 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/1.156, allocations: 0 / 1.237 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00048/1.157, allocations: 95.98 kB / 1.237 GB, free: 7.375 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.0005607/1.157, allocations: 220.5 kB / 1.237 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003822/1.158, allocations: 156 kB / 1.238 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.158, allocations: 0 / 1.238 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/1.158, allocations: 59.91 kB / 1.238 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007415/1.159, allocations: 145.2 kB / 1.238 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008254/1.159, allocations: 0.5896 MB / 1.238 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/1.16, allocations: 0.7674 MB / 1.239 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/1.16, allocations: 23.44 kB / 1.239 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of SimCode: time 3.6e-07/1.16, allocations: 0 / 1.239 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of Templates: time 0.007982/1.168, allocations: 5.223 MB / 1.244 GB, free: 188 kB / 0.9512 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=480 -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