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.001855/0.001855, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.001977/0.001977, allocations: 169.6 kB / 22.76 MB, free: 1.664 MB / 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 1.543/1.543, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.00349/0.00349, allocations: 242.1 kB / 259.8 MB, free: 12.83 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 1.222/1.222, allocations: 138.4 MB / 454.7 MB, free: 1.473 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.934e-06/1.934e-06, allocations: 0 / 0.5543 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.62e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.003936/0.003962, allocations: 1.539 MB / 0.5558 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009576/0.00492, allocations: 490.7 kB / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.004972, allocations: 0 / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.005003, allocations: 7.922 kB / 0.5563 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.873e-05/0.005062, allocations: 11.88 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.005299, allocations: 35.89 kB / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.005424, allocations: 39.86 kB / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.005515, allocations: 23.91 kB / 0.5564 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.005675, allocations: 35.84 kB / 0.5564 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.442e-05/0.005719, allocations: 19.92 kB / 0.5564 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.005737, allocations: 4 kB / 0.5564 GB, free: 14.66 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.038e-05/0.005777, allocations: 11.98 kB / 0.5565 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.005794, allocations: 7.984 kB / 0.5565 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.00582, allocations: 11.94 kB / 0.5565 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.005949, allocations: 55.8 kB / 0.5565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.005951, allocations: 0 / 0.5565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005952, allocations: 0 / 0.5565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.005955, allocations: 0 / 0.5565 GB, free: 14.58 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.0005806/0.006536, allocations: 392.1 kB / 0.5569 GB, free: 14.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.006571, allocations: 12.75 kB / 0.5569 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.006712, allocations: 16.88 kB / 0.5569 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.006899, allocations: 132.5 kB / 0.5571 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.00692, allocations: 4.359 kB / 0.5571 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.006931, allocations: 4.375 kB / 0.5571 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.007107, allocations: 58.23 kB / 0.5571 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.007118, allocations: 4.172 kB / 0.5571 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.007126, allocations: 384 / 0.5571 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.007132, allocations: 3.938 kB / 0.5571 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.007292, allocations: 39.97 kB / 0.5572 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.007746, allocations: 291.7 kB / 0.5574 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.008047, allocations: 70.95 kB / 0.5575 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.472e-05/0.008132, allocations: 19.75 kB / 0.5575 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.008149, allocations: 0 / 0.5575 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.008193, allocations: 41.38 kB / 0.5576 GB, free: 13.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.008194, allocations: 0 / 0.5576 GB, free: 13.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003479/0.008542, allocations: 77.61 kB / 0.5576 GB, free: 13.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.008587, allocations: 51.41 kB / 0.5577 GB, free: 13.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.008743, allocations: 185.9 kB / 0.5579 GB, free: 13.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.008763, allocations: 25.7 kB / 0.5579 GB, free: 13.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.7e-05/0.00886, allocations: 142.8 kB / 0.558 GB, free: 12.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.00888, allocations: 7.891 kB / 0.558 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.008929, allocations: 23.38 kB / 0.5581 GB, free: 12.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002814/0.00921, allocations: 0.4922 MB / 0.5585 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-05/0.009281, allocations: 8 kB / 0.5585 GB, free: 12.31 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.96e-05/0.009351, allocations: 19.98 kB / 0.5586 GB, free: 12.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.009493, allocations: 39.61 kB / 0.5586 GB, free: 12.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.009494, allocations: 0 / 0.5586 GB, free: 12.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001979/0.009692, allocations: 73.56 kB / 0.5587 GB, free: 12.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.009705, allocations: 4 kB / 0.5587 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.009709, allocations: 0 / 0.5587 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.009721, allocations: 0 / 0.5587 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.009788, allocations: 8 kB / 0.5587 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.009792, allocations: 0 / 0.5587 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.00984, allocations: 7.984 kB / 0.5587 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.009846, allocations: 4 kB / 0.5587 GB, free: 12.15 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 0.0001157/0.009962, allocations: 156.6 kB / 0.5588 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.009998, allocations: 11.89 kB / 0.5589 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.01003, allocations: 8 kB / 0.5589 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.01003, allocations: 0 / 0.5589 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01003, allocations: 0 / 0.5589 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.01004, allocations: 0 / 0.5589 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.01022, allocations: 136.5 kB / 0.559 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.01022, allocations: 0 / 0.559 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.586e-05/0.01028, allocations: 7.938 kB / 0.559 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.01029, allocations: 8 kB / 0.559 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.0103, allocations: 4 kB / 0.559 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.0103, allocations: 0 / 0.559 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.0103, allocations: 0 / 0.559 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.01058, allocations: 207.9 kB / 0.5592 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.0106, allocations: 11.89 kB / 0.5592 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.01062, allocations: 8.359 kB / 0.5592 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.01069, allocations: 0 / 0.5592 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.01072, allocations: 4 kB / 0.5592 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.01073, allocations: 0 / 0.5592 GB, free: 11.53 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.145e-05/0.01082, allocations: 143.1 kB / 0.5594 GB, free: 11.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01082, allocations: 0 / 0.5594 GB, free: 11.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.01105, allocations: 12 kB / 0.5594 GB, free: 11.38 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 0.0001028/0.01115, allocations: 91.25 kB / 0.5595 GB, free: 11.28 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.01135, allocations: 47.58 kB / 0.5595 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01135, allocations: 0 / 0.5595 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.942e-05/0.01144, allocations: 27.67 kB / 0.5595 GB, free: 11.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.01168, allocations: 8 kB / 0.5595 GB, free: 11.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.01206, allocations: 162 kB / 0.5597 GB, free: 11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.948e-05/0.01214, allocations: 71.34 kB / 0.5598 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.962e-05/0.01217, allocations: 0 / 0.5598 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.01221, allocations: 16.48 kB / 0.5598 GB, free: 10.9 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01221, allocations: 0 / 0.5598 GB, free: 10.9 MB / 490.7 MB Notification: Performance of Templates: time 0.003146/0.01536, allocations: 474.4 kB / 0.5602 GB, free: 10.45 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: 5.776143252034672]