Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 104.5 kB / 18.84 MB, free: 3.043 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003005/0.003005, allocations: 193.7 kB / 22.11 MB, free: 5.152 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.261/3.261, allocations: 495.8 MB / 0.783 GB, free: 33.56 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy")
translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 65.27 kB / 1.137 GB, free: 33.79 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3902, allocations: 173.6 MB / 1.307 GB, free: 1.867 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2302/0.6204, allocations: 162.2 MB / 1.465 GB, free: 15.07 MB / 1.17 GB
Notification: Performance of NFInst.instExpressions: time 0.006856/0.6273, allocations: 4.58 MB / 1.47 GB, free: 10.48 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005184/0.6278, allocations: 15.88 kB / 1.47 GB, free: 10.46 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005291/0.6283, allocations: 135 kB / 1.47 GB, free: 10.33 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.00169/0.63, allocations: 0.5641 MB / 1.47 GB, free: 9.766 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.6324, allocations: 0.817 MB / 1.471 GB, free: 8.949 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.0009324/0.6333, allocations: 0.5768 MB / 1.472 GB, free: 8.371 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003746/0.6337, allocations: 179.8 kB / 1.472 GB, free: 8.195 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.6356, allocations: 0.6967 MB / 1.472 GB, free: 7.496 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006711/0.6362, allocations: 310.8 kB / 1.473 GB, free: 7.191 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.6363, allocations: 16 kB / 1.473 GB, free: 7.176 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.6382, allocations: 0.8609 MB / 1.474 GB, free: 6.312 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.6383, allocations: 83.73 kB / 1.474 GB, free: 6.23 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.000169/0.6385, allocations: 127.4 kB / 1.474 GB, free: 6.105 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.001216/0.6397, allocations: 0.6737 MB / 1.475 GB, free: 5.43 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.6397, allocations: 0 / 1.475 GB, free: 5.43 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.974e-06/0.6397, allocations: 0 / 1.475 GB, free: 5.43 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 1.494e-05/0.6397, allocations: 4 kB / 1.475 GB, free: 5.426 MB / 1.17 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.001112/0.6408, allocations: 0.5236 MB / 1.475 GB, free: 4.871 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 6.681e-05/0.6409, allocations: 12.03 kB / 1.475 GB, free: 4.859 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007132/0.6416, allocations: 83.67 kB / 1.475 GB, free: 4.777 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.6421, allocations: 233.7 kB / 1.475 GB, free: 4.523 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.6421, allocations: 19.94 kB / 1.475 GB, free: 4.504 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.6422, allocations: 16 kB / 1.475 GB, free: 4.488 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005894/0.6428, allocations: 296.1 kB / 1.476 GB, free: 4.172 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.6428, allocations: 3.938 kB / 1.476 GB, free: 4.168 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.6428, allocations: 12 kB / 1.476 GB, free: 4.156 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.6428, allocations: 7.938 kB / 1.476 GB, free: 4.148 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004752/0.6433, allocations: 203.8 kB / 1.476 GB, free: 3.949 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.6451, allocations: 1.198 MB / 1.477 GB, free: 2.676 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003413/0.6454, allocations: 169 kB / 1.477 GB, free: 2.465 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.6457, allocations: 108.2 kB / 1.477 GB, free: 2.344 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006836/0.6464, allocations: 112 kB / 1.477 GB, free: 2.234 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.6464, allocations: 30.56 kB / 1.477 GB, free: 2.195 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=13): time 1.694e-06/0.6464, allocations: 0 / 1.477 GB, free: 2.195 MB / 1.17 GB
Notification: Performance of matching and sorting (n=13): time 0.0008705/0.6473, allocations: 285.5 kB / 1.478 GB, free: 1.91 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.6474, allocations: 158.6 kB / 1.478 GB, free: 1.719 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.6477, allocations: 296.1 kB / 1.478 GB, free: 1.426 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.6478, allocations: 25.7 kB / 1.478 GB, free: 1.395 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.6479, allocations: 144 kB / 1.478 GB, free: 1.25 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.648, allocations: 55.47 kB / 1.478 GB, free: 1.195 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.55e-05/0.648, allocations: 45.83 kB / 1.478 GB, free: 1.145 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0001839/0.6482, allocations: 342.8 kB / 1.479 GB, free: 0.8008 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.6484, allocations: 59.95 kB / 1.479 GB, free: 0.7422 MB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.6487, allocations: 153.3 kB / 1.479 GB, free: 0.5625 MB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.6491, allocations: 215.5 kB / 1.479 GB, free: 332 kB / 1.17 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6491, allocations: 0 / 1.479 GB, free: 332 kB / 1.17 GB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005716/0.6497, allocations: 241.5 kB / 1.479 GB, free: 84 kB / 1.17 GB
Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.6497, allocations: 9.906 kB / 1.479 GB, free: 76 kB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.6497, allocations: 4 kB / 1.479 GB, free: 72 kB / 1.17 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.6498, allocations: 4 kB / 1.479 GB, free: 68 kB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.65, allocations: 39.91 kB / 1.479 GB, free: 28 kB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.65, allocations: 8 kB / 1.479 GB, free: 20 kB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.6502, allocations: 31.95 kB / 1.479 GB, free: 15.98 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.6503, allocations: 15.75 kB / 1.479 GB, free: 15.97 MB / 1.186 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.0001735/0.6504, allocations: 153.8 kB / 1.48 GB, free: 15.81 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.6506, allocations: 27.81 kB / 1.48 GB, free: 15.79 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005138/0.6511, allocations: 181.9 kB / 1.48 GB, free: 15.59 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.6511, allocations: 4 kB / 1.48 GB, free: 15.58 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6511, allocations: 0 / 1.48 GB, free: 15.58 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.6511, allocations: 7.922 kB / 1.48 GB, free: 15.57 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.6523, allocations: 0.8228 MB / 1.481 GB, free: 14.68 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.6523, allocations: 0 / 1.481 GB, free: 14.68 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.6524, allocations: 27.92 kB / 1.481 GB, free: 14.66 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.6524, allocations: 0 / 1.481 GB, free: 14.66 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.6524, allocations: 4 kB / 1.481 GB, free: 14.65 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6524, allocations: 4.016 kB / 1.481 GB, free: 14.65 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.6524, allocations: 7.984 kB / 1.481 GB, free: 14.64 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000642/0.6531, allocations: 343.6 kB / 1.481 GB, free: 14.27 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.776e-05/0.6532, allocations: 51.83 kB / 1.481 GB, free: 14.22 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.6532, allocations: 4 kB / 1.481 GB, free: 14.22 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.6534, allocations: 8 kB / 1.481 GB, free: 14.21 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.6534, allocations: 8.109 kB / 1.481 GB, free: 14.2 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.6534, allocations: 8 kB / 1.481 GB, free: 14.2 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0002741/0.6537, allocations: 239 kB / 1.481 GB, free: 13.96 MB / 1.186 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.6537, allocations: 3.938 kB / 1.481 GB, free: 13.96 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0005222/0.6542, allocations: 103.8 kB / 1.481 GB, free: 13.86 MB / 1.186 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.0006412/0.6549, allocations: 207.1 kB / 1.482 GB, free: 13.66 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.0004655/0.6553, allocations: 151.8 kB / 1.482 GB, free: 13.51 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6553, allocations: 0 / 1.482 GB, free: 13.51 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.6555, allocations: 59.89 kB / 1.482 GB, free: 13.45 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008122/0.6563, allocations: 139.5 kB / 1.482 GB, free: 13.32 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.6574, allocations: 0.4923 MB / 1.482 GB, free: 12.78 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.6578, allocations: 0.7595 MB / 1.483 GB, free: 12 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0001946/0.658, allocations: 70.84 kB / 1.483 GB, free: 11.93 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.322e-05/0.6581, allocations: 23.44 kB / 1.483 GB, free: 11.9 MB / 1.186 GB
Notification: Performance of SimCode: time 7.71e-07/0.6581, allocations: 0 / 1.483 GB, free: 11.9 MB / 1.186 GB
Notification: Performance of Templates: time 0.01301/0.6711, allocations: 5.946 MB / 1.489 GB, free: 6.023 MB / 1.186 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.731302148662508]