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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 73.09 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 169 kB / 24.05 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9366/0.9366, allocations: 177.2 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001632/0.001632, allocations: 232.7 kB / 261.3 MB, free: 12.65 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7676/0.7676, allocations: 138.4 MB / 456.3 MB, free: 1.402 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.293e-06/1.293e-06, allocations: 0 / 0.5563 GB, free: 280 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.881e-05, allocations: 2.312 kB / 0.5563 GB, free: 276 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.003008/0.003036, allocations: 1.569 MB / 0.5579 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008393/0.003876, allocations: 0.4947 MB / 0.5583 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.003945, allocations: 0 / 0.5583 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.003976, allocations: 3.938 kB / 0.5584 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.435e-05/0.004041, allocations: 7.875 kB / 0.5584 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.00566, allocations: 35.89 kB / 0.5584 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.005798, allocations: 47.84 kB / 0.5584 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.005899, allocations: 19.92 kB / 0.5585 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.006077, allocations: 31.91 kB / 0.5585 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.52e-05/0.006112, allocations: 19.97 kB / 0.5585 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.006127, allocations: 4 kB / 0.5585 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.308e-05/0.00617, allocations: 4 kB / 0.5585 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.006184, allocations: 11.94 kB / 0.5585 GB, free: 14 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.817e-05/0.006202, allocations: 11.98 kB / 0.5585 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.006314, allocations: 39.83 kB / 0.5586 GB, free: 13.95 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.006317, allocations: 0 / 0.5586 GB, free: 13.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.006317, allocations: 7.938 kB / 0.5586 GB, free: 13.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.006323, allocations: 0 / 0.5586 GB, free: 13.94 MB / 490.7 MB 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.0003325/0.006655, allocations: 388.5 kB / 0.559 GB, free: 13.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.00669, allocations: 8.75 kB / 0.559 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.432e-05/0.006785, allocations: 16.88 kB / 0.559 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.006903, allocations: 132.5 kB / 0.5591 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.006919, allocations: 4.375 kB / 0.5591 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-06/0.006926, allocations: 4.312 kB / 0.5591 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.007029, allocations: 66.92 kB / 0.5592 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.007035, allocations: 192 / 0.5592 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.007046, allocations: 8.359 kB / 0.5592 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.007051, allocations: 11.94 kB / 0.5592 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.212e-05/0.007074, allocations: 11.94 kB / 0.5592 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.007334, allocations: 256.3 kB / 0.5595 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.007451, allocations: 42.98 kB / 0.5595 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.007468, allocations: 15.73 kB / 0.5595 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.007481, allocations: 7.938 kB / 0.5595 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.007501, allocations: 37.39 kB / 0.5596 GB, free: 12.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.007502, allocations: 0 / 0.5596 GB, free: 12.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001243/0.007626, allocations: 45.69 kB / 0.5596 GB, free: 12.78 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.007655, allocations: 51.41 kB / 0.5596 GB, free: 12.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.859e-05/0.007723, allocations: 178 kB / 0.5598 GB, free: 12.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.007732, allocations: 29.64 kB / 0.5598 GB, free: 12.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.007777, allocations: 138.8 kB / 0.56 GB, free: 12.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.007794, allocations: 11.89 kB / 0.56 GB, free: 12.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.007819, allocations: 19.38 kB / 0.56 GB, free: 12.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.00793, allocations: 0.4884 MB / 0.5605 GB, free: 11.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.007943, allocations: 4 kB / 0.5605 GB, free: 11.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-06/0.007952, allocations: 0 / 0.5605 GB, free: 11.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.007978, allocations: 19.69 kB / 0.5605 GB, free: 11.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.00798, allocations: 4 kB / 0.5605 GB, free: 11.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.799e-05/0.008038, allocations: 49.58 kB / 0.5606 GB, free: 11.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.008049, allocations: 4 kB / 0.5606 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.008052, allocations: 0 / 0.5606 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.00806, allocations: 0 / 0.5606 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.839e-05/0.008098, allocations: 15.92 kB / 0.5606 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.008101, allocations: 0 / 0.5606 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/0.008123, allocations: 0 / 0.5606 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.008128, allocations: 0 / 0.5606 GB, free: 11.7 MB / 490.7 MB 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 6.3e-05/0.008191, allocations: 164.6 kB / 0.5607 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.00821, allocations: 15.89 kB / 0.5607 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.008233, allocations: 7.938 kB / 0.5608 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.008235, allocations: 0 / 0.5608 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.008236, allocations: 0 / 0.5608 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.008239, allocations: 0 / 0.5608 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.611e-05/0.008335, allocations: 109.2 kB / 0.5609 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.008338, allocations: 4 kB / 0.5609 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.008363, allocations: 8 kB / 0.5609 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.008365, allocations: 3.984 kB / 0.5609 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.00837, allocations: 3.938 kB / 0.5609 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.008371, allocations: 0 / 0.5609 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.008372, allocations: 4 kB / 0.5609 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.008483, allocations: 200.2 kB / 0.5611 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-06/0.008489, allocations: 3.953 kB / 0.5611 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.008499, allocations: 3.938 kB / 0.5611 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.405e-05/0.008533, allocations: 4 kB / 0.5611 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.008555, allocations: 3.984 kB / 0.5611 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.008558, allocations: 0 / 0.5611 GB, free: 11.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.879e-05/0.008597, allocations: 135.2 kB / 0.5612 GB, free: 10.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008597, allocations: 0 / 0.5612 GB, free: 10.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001393/0.008736, allocations: 12 kB / 0.5612 GB, free: 10.98 MB / 490.7 MB 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 8.004e-05/0.008816, allocations: 95.25 kB / 0.5613 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.954e-05/0.008885, allocations: 23.61 kB / 0.5613 GB, free: 10.85 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.008887, allocations: 0 / 0.5613 GB, free: 10.85 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.949e-05/0.008906, allocations: 15.69 kB / 0.5614 GB, free: 10.83 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.009103, allocations: 6.578 kB / 0.5614 GB, free: 10.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.009475, allocations: 162 kB / 0.5615 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.865e-05/0.009513, allocations: 59.34 kB / 0.5616 GB, free: 10.56 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.053e-05/0.009534, allocations: 4 kB / 0.5616 GB, free: 10.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.00958, allocations: 70.2 kB / 0.5616 GB, free: 10.48 MB / 490.7 MB Notification: Performance of SimCode: time 7.12e-07/0.00958, allocations: 0 / 0.5616 GB, free: 10.48 MB / 490.7 MB Notification: Performance of Templates: time 0.001912/0.01149, allocations: 0.5146 MB / 0.5621 GB, free: 9.98 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5743656186386943]