Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality") translateModel(IBPSA.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4987/0.4987, allocations: 90.91 MB / 99.34 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 221.5 MB / 343.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008761/0.0008758, allocations: 86.17 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.095e-05/1.087e-05, allocations: 4 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1448, allocations: 72.31 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5175/0.6624, allocations: 101.5 MB / 0.6526 GB, free: 8.77 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.6626, allocations: 76.33 kB / 0.6527 GB, free: 8.73 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004863/0.6675, allocations: 1.467 MB / 0.6541 GB, free: 7.488 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.6676, allocations: 0 / 0.6541 GB, free: 7.488 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.6676, allocations: 4.562 kB / 0.6541 GB, free: 7.484 MB / 458.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.0009642/0.6686, allocations: 346 kB / 0.6545 GB, free: 7.105 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.64e-05/0.6687, allocations: 12.03 kB / 0.6545 GB, free: 7.094 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.913e-05/0.6688, allocations: 7.859 kB / 0.6545 GB, free: 7.086 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.6689, allocations: 178.9 kB / 0.6547 GB, free: 6.871 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.669, allocations: 4 kB / 0.6547 GB, free: 6.867 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.669, allocations: 0 / 0.6547 GB, free: 6.867 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.978e-05/0.669, allocations: 26.56 kB / 0.6547 GB, free: 6.848 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.519e-05/0.6691, allocations: 48.38 kB / 0.6547 GB, free: 6.801 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.6691, allocations: 0 / 0.6547 GB, free: 6.801 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.6692, allocations: 0 / 0.6547 GB, free: 6.801 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.6692, allocations: 7.953 kB / 0.6547 GB, free: 6.793 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.6696, allocations: 273.5 kB / 0.655 GB, free: 6.504 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.6698, allocations: 53.16 kB / 0.6551 GB, free: 6.453 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.6698, allocations: 12.91 kB / 0.6551 GB, free: 6.438 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.6698, allocations: 3.562 kB / 0.6551 GB, free: 6.438 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.6698, allocations: 38.52 kB / 0.6551 GB, free: 6.391 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.6699, allocations: 4 kB / 0.6551 GB, free: 6.387 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001371/0.67, allocations: 45 kB / 0.6552 GB, free: 6.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.67, allocations: 51.41 kB / 0.6552 GB, free: 6.277 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.834e-05/0.6701, allocations: 98.62 kB / 0.6553 GB, free: 6.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.6701, allocations: 25.7 kB / 0.6553 GB, free: 6.148 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.6702, allocations: 95.41 kB / 0.6554 GB, free: 6.055 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.6702, allocations: 14.97 kB / 0.6554 GB, free: 6.043 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.6702, allocations: 0 / 0.6554 GB, free: 6.043 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.6703, allocations: 310.8 kB / 0.6557 GB, free: 5.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.6704, allocations: 10.44 kB / 0.6557 GB, free: 5.723 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.812e-05/0.6704, allocations: 15.61 kB / 0.6557 GB, free: 5.711 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.084e-05/0.6704, allocations: 7.625 kB / 0.6558 GB, free: 5.707 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.6704, allocations: 0 / 0.6558 GB, free: 5.707 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.384e-05/0.6705, allocations: 51.91 kB / 0.6558 GB, free: 5.656 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.6705, allocations: 4 kB / 0.6558 GB, free: 5.652 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.6705, allocations: 0 / 0.6558 GB, free: 5.652 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.6706, allocations: 7.953 kB / 0.6558 GB, free: 5.645 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.24e-05/0.6707, allocations: 12.36 kB / 0.6558 GB, free: 5.633 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.6707, allocations: 6 kB / 0.6558 GB, free: 5.629 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.282e-05/0.6707, allocations: 4 kB / 0.6558 GB, free: 5.625 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.6707, allocations: 3.938 kB / 0.6558 GB, free: 5.621 MB / 458.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 () * 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 7.94e-05/0.6708, allocations: 108.9 kB / 0.6559 GB, free: 5.508 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.6709, allocations: 3.938 kB / 0.6559 GB, free: 5.504 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.6709, allocations: 11.45 kB / 0.656 GB, free: 5.496 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6709, allocations: 7.953 kB / 0.656 GB, free: 5.488 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.6709, allocations: 0 / 0.656 GB, free: 5.488 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.6709, allocations: 4 kB / 0.656 GB, free: 5.484 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.6711, allocations: 148.5 kB / 0.6561 GB, free: 5.309 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6711, allocations: 0 / 0.6561 GB, free: 5.309 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.445e-05/0.6712, allocations: 11.98 kB / 0.6561 GB, free: 5.297 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6712, allocations: 0 / 0.6561 GB, free: 5.297 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.6712, allocations: 4 kB / 0.6561 GB, free: 5.293 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.6712, allocations: 0 / 0.6561 GB, free: 5.293 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6712, allocations: 0 / 0.6561 GB, free: 5.293 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.6713, allocations: 150 kB / 0.6563 GB, free: 5.137 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.6714, allocations: 85.61 kB / 0.6564 GB, free: 5.039 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.6714, allocations: 0 / 0.6564 GB, free: 5.039 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.175e-05/0.6715, allocations: 7.984 kB / 0.6564 GB, free: 5.031 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.6716, allocations: 0 / 0.6564 GB, free: 5.031 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.6716, allocations: 4 kB / 0.6564 GB, free: 5.027 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.599e-05/0.6716, allocations: 90.45 kB / 0.6564 GB, free: 4.941 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6716, allocations: 0 / 0.6564 GB, free: 4.941 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001964/0.6718, allocations: 15.95 kB / 0.6565 GB, free: 4.926 MB / 458.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 () * 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 9.803e-05/0.6719, allocations: 91.48 kB / 0.6566 GB, free: 4.824 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.868e-05/0.672, allocations: 22.17 kB / 0.6566 GB, free: 4.809 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.672, allocations: 0 / 0.6566 GB, free: 4.809 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/0.6721, allocations: 15.73 kB / 0.6566 GB, free: 4.797 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.6722, allocations: 4 kB / 0.6566 GB, free: 4.793 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002123/0.6724, allocations: 81.88 kB / 0.6567 GB, free: 4.695 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.6727, allocations: 0.6923 MB / 0.6573 GB, free: 3.977 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.146e-05/0.6728, allocations: 4 kB / 0.6573 GB, free: 3.973 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.6728, allocations: 7.719 kB / 0.6574 GB, free: 3.965 MB / 458.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6728, allocations: 0 / 0.6574 GB, free: 3.965 MB / 458.7 MB Notification: Performance of Templates: time 0.001866/0.6747, allocations: 365.8 kB / 0.6577 GB, free: 3.621 MB / 458.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.sim & ./IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)