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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7925/0.7925, allocations: 140.1 MB / 156 MB, free: 5.191 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 174 kB / 188.5 MB, free: 15.85 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.4 MB / 426.3 MB, free: 8.496 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007752/0.0007752, allocations: 90.28 kB / 0.4945 GB, free: 8.43 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001643/0.001642, allocations: 273 kB / 0.5728 GB, free: 66.24 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004446, allocations: 16 kB / 0.662 GB, free: 6.836 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3511, allocations: 79.3 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.4892, allocations: 107.9 MB / 0.8448 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.4895, allocations: 79.95 kB / 0.8449 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003696/0.4932, allocations: 1.436 MB / 0.8463 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4932, allocations: 0 / 0.8463 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.4932, allocations: 8 kB / 0.8463 GB, free: 0.8008 MB / 0.5105 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.0003321/0.4936, allocations: 355.4 kB / 0.8467 GB, free: 412 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.4936, allocations: 12.03 kB / 0.8467 GB, free: 400 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.4937, allocations: 4.844 kB / 0.8467 GB, free: 396 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.4938, allocations: 176.2 kB / 0.8468 GB, free: 180 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.4938, allocations: 4.375 kB / 0.8468 GB, free: 176 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.4938, allocations: 4.375 kB / 0.8469 GB, free: 172 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.494, allocations: 70.22 kB / 0.8469 GB, free: 96 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.494, allocations: 192 / 0.8469 GB, free: 96 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.494, allocations: 7.938 kB / 0.8469 GB, free: 88 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.494, allocations: 0 / 0.8469 GB, free: 88 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.4942, allocations: 55.94 kB / 0.847 GB, free: 32 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.4947, allocations: 308.6 kB / 0.8473 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.495, allocations: 74.53 kB / 0.8473 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.76e-05/0.4951, allocations: 28.91 kB / 0.8474 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.4951, allocations: 0 / 0.8474 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.4951, allocations: 34.56 kB / 0.8474 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.4951, allocations: 0 / 0.8474 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0003559/0.4955, allocations: 97.59 kB / 0.8475 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.4955, allocations: 51.41 kB / 0.8475 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.364e-05/0.4956, allocations: 128 kB / 0.8477 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4957, allocations: 25.7 kB / 0.8477 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.4957, allocations: 92.08 kB / 0.8478 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.4957, allocations: 7.812 kB / 0.8478 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.4957, allocations: 4 kB / 0.8478 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.4959, allocations: 322.8 kB / 0.8481 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.173e-05/0.4959, allocations: 23.98 kB / 0.8481 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.376e-05/0.496, allocations: 19.98 kB / 0.8481 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.4962, allocations: 49.05 kB / 0.8482 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4962, allocations: 0 / 0.8482 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000201/0.4964, allocations: 85.59 kB / 0.8483 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.4964, allocations: 8 kB / 0.8483 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4964, allocations: 4 kB / 0.8483 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4965, allocations: 0 / 0.8483 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.846e-05/0.4965, allocations: 11.98 kB / 0.8483 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.4966, allocations: 0 / 0.8483 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.4966, allocations: 15.89 kB / 0.8483 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.4966, allocations: 4 kB / 0.8483 GB, free: 14.54 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.325e-05/0.4967, allocations: 113.8 kB / 0.8484 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.4968, allocations: 4 kB / 0.8484 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.373e-05/0.4968, allocations: 7.906 kB / 0.8484 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4968, allocations: 0 / 0.8484 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4968, allocations: 4 kB / 0.8484 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4968, allocations: 0 / 0.8484 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.497, allocations: 181.5 kB / 0.8486 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.497, allocations: 0 / 0.8486 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.604e-05/0.4971, allocations: 15.92 kB / 0.8486 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.4971, allocations: 0 / 0.8486 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.4971, allocations: 4 kB / 0.8486 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4971, allocations: 0 / 0.8486 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4971, allocations: 0 / 0.8486 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.4974, allocations: 179.4 kB / 0.8488 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.4974, allocations: 85.02 kB / 0.8489 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.4974, allocations: 0 / 0.8489 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.4975, allocations: 8 kB / 0.8489 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.4976, allocations: 3.984 kB / 0.8489 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.4976, allocations: 4 kB / 0.8489 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.167e-05/0.4977, allocations: 95.7 kB / 0.849 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4977, allocations: 0 / 0.849 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000204/0.4979, allocations: 8 kB / 0.849 GB, free: 13.74 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001091/0.498, allocations: 99.19 kB / 0.8491 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001925/0.4982, allocations: 51.91 kB / 0.8491 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4982, allocations: 0 / 0.8491 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.025e-05/0.4983, allocations: 23.98 kB / 0.8492 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.4986, allocations: 8.266 kB / 0.8492 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/0.4989, allocations: 164.8 kB / 0.8493 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.4991, allocations: 0.6848 MB / 0.85 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.472e-05/0.4992, allocations: 7.938 kB / 0.85 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.4992, allocations: 11.44 kB / 0.85 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of SimCode: time 2.11e-07/0.4992, allocations: 0 / 0.85 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of Templates: time 0.002069/0.5013, allocations: 437.5 kB / 0.8504 GB, free: 12.21 MB / 0.5261 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)