Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.001587/0.001587, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.001882/0.001882, allocations: 191.9 kB / 22.11 MB, free: 4.219 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.535/1.535, allocations: 225.6 MB / 250.8 MB, free: 2.914 MB / 190.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 2.947/2.947, allocations: 495.8 MB / 0.783 GB, free: 12.25 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.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate")
translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002859/0.002859, allocations: 71.88 kB / 1.137 GB, free: 12.14 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.106/1.109, allocations: 173.6 MB / 1.307 GB, free: 33.74 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2242/1.333, allocations: 168.4 MB / 1.471 GB, free: 8.094 MB / 1.154 GB
Notification: Performance of NFInst.instExpressions: time 0.0111/1.344, allocations: 7.155 MB / 1.478 GB, free: 2.758 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000851/1.345, allocations: 19.81 kB / 1.478 GB, free: 2.746 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006957/1.346, allocations: 178.5 kB / 1.478 GB, free: 2.59 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.004012/1.35, allocations: 1.326 MB / 1.48 GB, free: 1.609 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002026/1.352, allocations: 0.6712 MB / 1.48 GB, free: 1.113 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.001156/1.353, allocations: 0.7623 MB / 1.481 GB, free: 0.6719 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004623/1.353, allocations: 242.7 kB / 1.481 GB, free: 0.5078 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.00187/1.355, allocations: 0.752 MB / 1.482 GB, free: 32 kB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0009461/1.356, allocations: 430.7 kB / 1.482 GB, free: 15.79 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 5.704e-05/1.356, allocations: 26.41 kB / 1.482 GB, free: 15.79 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002302/1.358, allocations: 1.048 MB / 1.483 GB, free: 15.19 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001688/1.359, allocations: 128.8 kB / 1.484 GB, free: 15.1 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002174/1.359, allocations: 179.5 kB / 1.484 GB, free: 14.98 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.001502/1.36, allocations: 0.8521 MB / 1.485 GB, free: 14.48 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.36, allocations: 4 kB / 1.485 GB, free: 14.47 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.473e-06/1.36, allocations: 0 / 1.485 GB, free: 14.47 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 1.268e-05/1.36, allocations: 5.219 kB / 1.485 GB, free: 14.47 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: 65
 * Number of variables: 65
Notification: Performance of Generate backend data structure: time 0.001085/1.361, allocations: 0.6258 MB / 1.485 GB, free: 13.95 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/1.361, allocations: 9.469 kB / 1.485 GB, free: 13.95 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/1.362, allocations: 130 kB / 1.485 GB, free: 13.88 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006253/1.363, allocations: 282.3 kB / 1.486 GB, free: 13.64 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-05/1.363, allocations: 51.61 kB / 1.486 GB, free: 13.59 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.385e-05/1.363, allocations: 33.23 kB / 1.486 GB, free: 13.58 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006987/1.364, allocations: 364.1 kB / 1.486 GB, free: 13.34 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.364, allocations: 0 / 1.486 GB, free: 13.34 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/1.364, allocations: 10.62 kB / 1.486 GB, free: 13.33 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/1.364, allocations: 6.875 kB / 1.486 GB, free: 13.33 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000576/1.365, allocations: 278.8 kB / 1.486 GB, free: 13.2 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/1.367, allocations: 1.448 MB / 1.488 GB, free: 11.88 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004343/1.367, allocations: 188.9 kB / 1.488 GB, free: 11.77 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/1.367, allocations: 112.6 kB / 1.488 GB, free: 11.71 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0008579/1.368, allocations: 140.9 kB / 1.488 GB, free: 11.66 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/1.368, allocations: 35.75 kB / 1.488 GB, free: 11.61 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=15): time 1.473e-06/1.368, allocations: 0 / 1.488 GB, free: 11.61 MB / 1.17 GB
Notification: Performance of matching and sorting (n=15): time 0.001048/1.369, allocations: 358.1 kB / 1.489 GB, free: 11.43 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/1.369, allocations: 60.5 kB / 1.489 GB, free: 11.36 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/1.37, allocations: 313.1 kB / 1.489 GB, free: 11.17 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 3.505e-05/1.37, allocations: 30.67 kB / 1.489 GB, free: 11.13 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001709/1.37, allocations: 186.1 kB / 1.489 GB, free: 10.96 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 5.92e-05/1.37, allocations: 54.23 kB / 1.489 GB, free: 10.92 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.619e-05/1.37, allocations: 42.61 kB / 1.489 GB, free: 10.89 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0001913/1.37, allocations: 338.4 kB / 1.49 GB, free: 10.55 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/1.371, allocations: 92.98 kB / 1.49 GB, free: 10.51 MB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/1.371, allocations: 150.2 kB / 1.49 GB, free: 10.4 MB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004897/1.371, allocations: 242 kB / 1.49 GB, free: 10.24 MB / 1.17 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.371, allocations: 1.125 kB / 1.49 GB, free: 10.24 MB / 1.17 GB
Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006729/1.372, allocations: 287.7 kB / 1.49 GB, free: 10.09 MB / 1.17 GB
Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/1.372, allocations: 5.25 kB / 1.49 GB, free: 10.09 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/1.372, allocations: 2.281 kB / 1.49 GB, free: 10.09 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.372, allocations: 2.781 kB / 1.49 GB, free: 10.09 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/1.372, allocations: 38.69 kB / 1.49 GB, free: 10.08 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/1.372, allocations: 10.44 kB / 1.49 GB, free: 10.07 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/1.373, allocations: 31.61 kB / 1.49 GB, free: 10.05 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/1.373, allocations: 8.094 kB / 1.49 GB, free: 10.05 MB / 1.17 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * 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 (20):
 * Single equations (assignments): 20
 * 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.0001848/1.373, allocations: 165.2 kB / 1.491 GB, free: 9.898 MB / 1.17 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/1.373, allocations: 29.72 kB / 1.491 GB, free: 9.883 MB / 1.17 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007778/1.374, allocations: 309.7 kB / 1.491 GB, free: 9.699 MB / 1.17 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.374, allocations: 6.188 kB / 1.491 GB, free: 9.695 MB / 1.17 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.374, allocations: 5.219 kB / 1.491 GB, free: 9.691 MB / 1.17 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/1.374, allocations: 3.984 kB / 1.491 GB, free: 9.688 MB / 1.17 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/1.375, allocations: 0.7754 MB / 1.492 GB, free: 9.078 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.375, allocations: 1.188 kB / 1.492 GB, free: 9.078 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/1.375, allocations: 38.66 kB / 1.492 GB, free: 9.066 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.375, allocations: 3 kB / 1.492 GB, free: 9.066 MB / 1.17 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/1.375, allocations: 8.031 kB / 1.492 GB, free: 9.062 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/1.375, allocations: 7.219 kB / 1.492 GB, free: 9.059 MB / 1.17 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.375, allocations: 1.875 kB / 1.492 GB, free: 9.059 MB / 1.17 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007116/1.376, allocations: 405.7 kB / 1.492 GB, free: 8.75 MB / 1.17 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/1.376, allocations: 63.39 kB / 1.492 GB, free: 8.707 MB / 1.17 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/1.376, allocations: 11.38 kB / 1.492 GB, free: 8.699 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/1.376, allocations: 15.3 kB / 1.492 GB, free: 8.691 MB / 1.17 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/1.377, allocations: 10.83 kB / 1.492 GB, free: 8.688 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/1.377, allocations: 15.89 kB / 1.492 GB, free: 8.68 MB / 1.17 GB
Notification: Performance of sorting global known variables: time 0.0002426/1.377, allocations: 226.8 kB / 1.492 GB, free: 8.531 MB / 1.17 GB
Notification: Performance of sort global known variables: time 1.11e-07/1.377, allocations: 1.188 kB / 1.492 GB, free: 8.531 MB / 1.17 GB
Notification: Performance of remove unused functions: time 0.0006063/1.377, allocations: 119.1 kB / 1.493 GB, free: 8.504 MB / 1.17 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 8
 * 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 simulation (16):
 * Single equations (assignments): 16
 * 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.0006158/1.378, allocations: 238.2 kB / 1.493 GB, free: 8.34 MB / 1.17 GB
Notification: Performance of simCode: created initialization part: time 0.0005349/1.379, allocations: 214.4 kB / 1.493 GB, free: 8.242 MB / 1.17 GB
Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.379, allocations: 384 / 1.493 GB, free: 8.242 MB / 1.17 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002574/1.379, allocations: 115.8 kB / 1.493 GB, free: 8.188 MB / 1.17 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008876/1.38, allocations: 159.2 kB / 1.493 GB, free: 8.109 MB / 1.17 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/1.381, allocations: 0.6085 MB / 1.494 GB, free: 7.676 MB / 1.17 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/1.381, allocations: 0.7883 MB / 1.495 GB, free: 6.93 MB / 1.17 GB
Notification: Performance of simCode: alias equations: time 0.0002755/1.382, allocations: 88.89 kB / 1.495 GB, free: 6.887 MB / 1.17 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/1.382, allocations: 32.09 kB / 1.495 GB, free: 6.875 MB / 1.17 GB
Notification: Performance of SimCode: time 4.31e-07/1.382, allocations: 0 / 1.495 GB, free: 6.875 MB / 1.17 GB
Notification: Performance of Templates: time 0.01509/1.397, allocations: 7.436 MB / 1.502 GB, free: 300 kB / 1.17 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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: 10.272775006480515]