Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.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.001184/0.001184, allocations: 110 kB / 18.94 MB, free: 2.789 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.001259/0.001259, allocations: 194.5 kB / 22.23 MB, free: 5.234 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.316/1.316, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002419/0.002419, allocations: 295.4 kB / 306.6 MB, free: 8.344 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.147/1.147, allocations: 180.9 MB / 0.53 GB, free: 14.48 MB / 382.1 MB
"
[Timeout remaining time 179]
Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality")
translateModel(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002656/0.002656, allocations: 100.6 kB / 0.7308 GB, free: 38.84 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1441, allocations: 94.2 MB / 0.8228 GB, free: 1.852 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002769/0.1469, allocations: 1.549 MB / 0.8243 GB, free: 304 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.0007696/0.1477, allocations: 448.4 kB / 0.8247 GB, free: 15.86 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.22e-05/0.1477, allocations: 0 / 0.8247 GB, free: 15.86 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.1477, allocations: 7.922 kB / 0.8247 GB, free: 15.85 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.1478, allocations: 7.938 kB / 0.8248 GB, free: 15.84 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.148, allocations: 27.92 kB / 0.8248 GB, free: 15.81 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 8.387e-05/0.1481, allocations: 43.84 kB / 0.8248 GB, free: 15.77 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.893e-05/0.1482, allocations: 23.83 kB / 0.8248 GB, free: 15.75 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.767e-05/0.1482, allocations: 15.98 kB / 0.8249 GB, free: 15.73 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.33e-05/0.1483, allocations: 27.86 kB / 0.8249 GB, free: 15.7 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.1483, allocations: 4 kB / 0.8249 GB, free: 15.7 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.1483, allocations: 4 kB / 0.8249 GB, free: 15.7 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.1483, allocations: 7.984 kB / 0.8249 GB, free: 15.69 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.1484, allocations: 15.88 kB / 0.8249 GB, free: 15.67 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.000103/0.1485, allocations: 55.75 kB / 0.825 GB, free: 15.62 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1485, allocations: 0 / 0.825 GB, free: 15.62 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.462e-06/0.1485, allocations: 0 / 0.825 GB, free: 15.62 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 6.883e-06/0.1485, allocations: 3.984 kB / 0.825 GB, free: 15.61 MB / 0.5762 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.0004996/0.149, allocations: 278.2 kB / 0.8252 GB, free: 15.31 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.149, allocations: 12.03 kB / 0.8253 GB, free: 15.3 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.1491, allocations: 8.891 kB / 0.8253 GB, free: 15.29 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.1492, allocations: 118.4 kB / 0.8254 GB, free: 15.15 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1492, allocations: 8.375 kB / 0.8254 GB, free: 15.14 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.1492, allocations: 4.359 kB / 0.8254 GB, free: 15.14 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.1494, allocations: 65.98 kB / 0.8254 GB, free: 15.07 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1494, allocations: 0 / 0.8254 GB, free: 15.07 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1494, allocations: 4 kB / 0.8255 GB, free: 15.07 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1494, allocations: 0 / 0.8255 GB, free: 15.07 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.1496, allocations: 43.95 kB / 0.8255 GB, free: 15.02 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.1501, allocations: 271.7 kB / 0.8258 GB, free: 14.71 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.1504, allocations: 62.53 kB / 0.8258 GB, free: 14.64 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.845e-05/0.1505, allocations: 24.91 kB / 0.8258 GB, free: 14.62 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.1505, allocations: 0 / 0.8258 GB, free: 14.62 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.1505, allocations: 38.5 kB / 0.8259 GB, free: 14.57 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.1505, allocations: 0 / 0.8259 GB, free: 14.57 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3): time 0.0003754/0.1509, allocations: 89.58 kB / 0.826 GB, free: 14.48 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.1509, allocations: 51.41 kB / 0.826 GB, free: 14.41 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.151, allocations: 125.8 kB / 0.8261 GB, free: 14.28 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1511, allocations: 25.7 kB / 0.8262 GB, free: 14.25 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.1511, allocations: 100.1 kB / 0.8262 GB, free: 14.15 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.1511, allocations: 7.891 kB / 0.8263 GB, free: 14.14 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.1512, allocations: 21.7 kB / 0.8263 GB, free: 14.11 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001328/0.1513, allocations: 314.8 kB / 0.8266 GB, free: 13.8 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.124e-05/0.1514, allocations: 15.98 kB / 0.8266 GB, free: 13.78 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.887e-05/0.1515, allocations: 19.98 kB / 0.8266 GB, free: 13.76 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.1516, allocations: 48.77 kB / 0.8267 GB, free: 13.71 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1516, allocations: 0 / 0.8267 GB, free: 13.71 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002082/0.1519, allocations: 65.62 kB / 0.8267 GB, free: 13.64 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1519, allocations: 4 kB / 0.8267 GB, free: 13.64 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.1519, allocations: 0 / 0.8267 GB, free: 13.64 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1519, allocations: 4 kB / 0.8267 GB, free: 13.63 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.704e-05/0.152, allocations: 7.984 kB / 0.8267 GB, free: 13.62 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.152, allocations: 4 kB / 0.8267 GB, free: 13.62 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.877e-05/0.152, allocations: 11.98 kB / 0.8267 GB, free: 13.61 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.152, allocations: 8 kB / 0.8268 GB, free: 13.6 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * 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 (3):
 * Single equations (assignments): 3
 * 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 8.86e-05/0.1521, allocations: 114.2 kB / 0.8269 GB, free: 13.48 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.1522, allocations: 7.953 kB / 0.8269 GB, free: 13.48 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.1522, allocations: 11.94 kB / 0.8269 GB, free: 13.46 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1522, allocations: 0 / 0.8269 GB, free: 13.46 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1522, allocations: 0 / 0.8269 GB, free: 13.46 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.1522, allocations: 4 kB / 0.8269 GB, free: 13.45 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.1524, allocations: 144.7 kB / 0.827 GB, free: 13.27 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1524, allocations: 3.938 kB / 0.827 GB, free: 13.27 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.317e-05/0.1524, allocations: 15.98 kB / 0.827 GB, free: 13.25 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1524, allocations: 0 / 0.827 GB, free: 13.25 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1525, allocations: 0 / 0.827 GB, free: 13.25 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1525, allocations: 0 / 0.827 GB, free: 13.25 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1525, allocations: 0 / 0.827 GB, free: 13.25 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.1527, allocations: 171.5 kB / 0.8272 GB, free: 13.07 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.1527, allocations: 7.953 kB / 0.8272 GB, free: 13.06 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.1528, allocations: 4 kB / 0.8272 GB, free: 13.05 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.999e-05/0.1528, allocations: 0 / 0.8272 GB, free: 13.05 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.1529, allocations: 7.984 kB / 0.8272 GB, free: 13.05 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1529, allocations: 0 / 0.8272 GB, free: 13.05 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 5.725e-05/0.1529, allocations: 99.2 kB / 0.8273 GB, free: 12.95 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 6e-08/0.1529, allocations: 0 / 0.8273 GB, free: 12.95 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002091/0.1531, allocations: 11.94 kB / 0.8273 GB, free: 12.94 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 (3):
 * Single equations (assignments): 3
 * 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.0001019/0.1532, allocations: 103.2 kB / 0.8274 GB, free: 12.83 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0002333/0.1535, allocations: 32.34 kB / 0.8275 GB, free: 12.8 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1535, allocations: 0 / 0.8275 GB, free: 12.8 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 9.157e-05/0.1536, allocations: 19.98 kB / 0.8275 GB, free: 12.78 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.1538, allocations: 8 kB / 0.8275 GB, free: 12.77 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.1542, allocations: 163 kB / 0.8276 GB, free: 12.59 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.1545, allocations: 0.6885 MB / 0.8283 GB, free: 11.87 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 3.713e-05/0.1545, allocations: 3.984 kB / 0.8283 GB, free: 11.87 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.1546, allocations: 11.44 kB / 0.8283 GB, free: 11.86 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.71e-07/0.1546, allocations: 0 / 0.8283 GB, free: 11.86 MB / 0.5762 GB
Notification: Performance of Templates: time 0.002605/0.1572, allocations: 490.5 kB / 0.8288 GB, free: 11.38 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.sim & ./BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.508023397065699]
Failed to read output from testmodel.py, exit status != 0:
0.1639755116775632 0.17843140099999996 0.027097193000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f8b771917b0>