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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") translateModel(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.001261, allocations: 108 kB / 16.41 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 183.5 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002325/0.002325, allocations: 285.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9024/0.9024, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 91.86 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3892, allocations: 86.97 MB / 0.767 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002515/0.3918, allocations: 1.525 MB / 0.7685 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006728/0.3925, allocations: 448.7 kB / 0.7689 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.3925, allocations: 0 / 0.7689 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.3926, allocations: 3.938 kB / 0.7689 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.471e-05/0.3926, allocations: 3.938 kB / 0.7689 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.3928, allocations: 19.92 kB / 0.769 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.996e-05/0.3929, allocations: 43.91 kB / 0.769 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.759e-05/0.393, allocations: 27.97 kB / 0.769 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.3931, allocations: 23.88 kB / 0.769 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.377e-05/0.3932, allocations: 27.84 kB / 0.7691 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.3932, allocations: 4 kB / 0.7691 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.3932, allocations: 4 kB / 0.7691 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.3933, allocations: 4 kB / 0.7691 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.3933, allocations: 27.84 kB / 0.7691 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.053e-05/0.3934, allocations: 47.62 kB / 0.7692 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3934, allocations: 0 / 0.7692 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3934, allocations: 0 / 0.7692 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3934, allocations: 0 / 0.7692 GB, free: 1.875 MB / 0.5294 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.0004741/0.3939, allocations: 357.9 kB / 0.7695 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.3939, allocations: 12.02 kB / 0.7695 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.394, allocations: 12.78 kB / 0.7695 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.3941, allocations: 164.3 kB / 0.7697 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.3941, allocations: 8.375 kB / 0.7697 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.3941, allocations: 8.312 kB / 0.7697 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.3943, allocations: 65.98 kB / 0.7698 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.3943, allocations: 0 / 0.7698 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3944, allocations: 0 / 0.7698 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3944, allocations: 4 kB / 0.7698 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.3945, allocations: 51.94 kB / 0.7698 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.395, allocations: 296.7 kB / 0.7701 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.3953, allocations: 62.53 kB / 0.7702 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.694e-05/0.3954, allocations: 24.84 kB / 0.7702 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.3954, allocations: 0 / 0.7702 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.3954, allocations: 42.56 kB / 0.7702 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.3954, allocations: 0 / 0.7702 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003471/0.3958, allocations: 89.48 kB / 0.7703 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.3958, allocations: 51.41 kB / 0.7703 GB, free: 484 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.331e-05/0.3959, allocations: 117.8 kB / 0.7705 GB, free: 356 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.3959, allocations: 25.7 kB / 0.7705 GB, free: 324 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.396, allocations: 96.12 kB / 0.7706 GB, free: 224 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.396, allocations: 11.84 kB / 0.7706 GB, free: 212 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.396, allocations: 17.72 kB / 0.7706 GB, free: 188 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3961, allocations: 318.8 kB / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.621e-05/0.3962, allocations: 19.98 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.131e-05/0.3963, allocations: 15.98 kB / 0.7709 GB, free: 15.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.3965, allocations: 36.83 kB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3965, allocations: 4 kB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001951/0.3967, allocations: 73.52 kB / 0.7711 GB, free: 15.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.3967, allocations: 8 kB / 0.7711 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3967, allocations: 0 / 0.7711 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.3967, allocations: 0 / 0.7711 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.705e-05/0.3968, allocations: 11.98 kB / 0.7711 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3968, allocations: 0 / 0.7711 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.3969, allocations: 4 kB / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.3969, allocations: 4 kB / 0.7711 GB, free: 15.68 MB / 0.545 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 7.048e-05/0.397, allocations: 124.2 kB / 0.7712 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.397, allocations: 3.906 kB / 0.7712 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.998e-05/0.397, allocations: 11.91 kB / 0.7712 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.397, allocations: 3.938 kB / 0.7712 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3971, allocations: 0 / 0.7712 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3971, allocations: 0 / 0.7712 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.3972, allocations: 173.6 kB / 0.7714 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3972, allocations: 4 kB / 0.7714 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.061e-05/0.3973, allocations: 8 kB / 0.7714 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3973, allocations: 3.938 kB / 0.7714 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.3973, allocations: 7.984 kB / 0.7714 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3973, allocations: 0 / 0.7714 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3973, allocations: 3.938 kB / 0.7714 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.3976, allocations: 163.4 kB / 0.7716 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.3976, allocations: 85.09 kB / 0.7716 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3976, allocations: 4.375 kB / 0.7717 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.3977, allocations: 8 kB / 0.7717 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.3978, allocations: 4 kB / 0.7717 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.3978, allocations: 3.984 kB / 0.7717 GB, free: 14.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.83e-05/0.3978, allocations: 91.28 kB / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3978, allocations: 0 / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002077/0.398, allocations: 7.938 kB / 0.7718 GB, free: 14.89 MB / 0.545 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 7.573e-05/0.3981, allocations: 99.23 kB / 0.7719 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.3983, allocations: 51.89 kB / 0.7719 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3983, allocations: 0 / 0.7719 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.501e-05/0.3984, allocations: 19.98 kB / 0.7719 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.3987, allocations: 11.28 kB / 0.7719 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.3991, allocations: 176.3 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.3993, allocations: 0.6885 MB / 0.7728 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.3993, allocations: 11.44 kB / 0.7728 GB, free: 13.77 MB / 0.545 GB Notification: Performance of SimCode: time 1.9e-07/0.3993, allocations: 0 / 0.7728 GB, free: 13.77 MB / 0.545 GB Notification: Performance of Templates: time 0.001807/0.4011, allocations: 0.7107 MB / 0.7735 GB, free: 13.07 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.makefile (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)