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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001541, allocations: 185.2 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5001/0.5001, allocations: 90.85 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 221.4 MB / 342.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009622/0.0009623, allocations: 102.4 kB / 415.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.256e-06/8.386e-06, allocations: 0 / 493.9 MB, free: 8.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.376, allocations: 72.3 MB / 0.5529 GB, free: 73.24 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.4914, allocations: 101.4 MB / 0.6519 GB, free: 8.605 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.4917, allocations: 72.52 kB / 0.652 GB, free: 8.535 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.004234/0.4959, allocations: 1.15 MB / 0.6531 GB, free: 7.41 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.496, allocations: 0.5312 kB / 0.6531 GB, free: 7.41 MB / 474.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.0003863/0.4963, allocations: 357.1 kB / 0.6535 GB, free: 7.02 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.4964, allocations: 8.031 kB / 0.6535 GB, free: 7.012 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.4964, allocations: 8.719 kB / 0.6535 GB, free: 7.004 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.4966, allocations: 164 kB / 0.6536 GB, free: 6.805 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.4966, allocations: 8.875 kB / 0.6536 GB, free: 6.797 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.4966, allocations: 0 / 0.6536 GB, free: 6.797 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.024e-05/0.4967, allocations: 34.61 kB / 0.6537 GB, free: 6.766 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.501e-05/0.4968, allocations: 52.28 kB / 0.6537 GB, free: 6.711 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4968, allocations: 0 / 0.6537 GB, free: 6.711 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.4969, allocations: 1.031 kB / 0.6537 GB, free: 6.711 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.4969, allocations: 7 kB / 0.6537 GB, free: 6.707 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.4974, allocations: 273.2 kB / 0.654 GB, free: 6.406 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.4976, allocations: 47.91 kB / 0.654 GB, free: 6.352 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.4977, allocations: 21.89 kB / 0.654 GB, free: 6.328 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.4977, allocations: 0 / 0.654 GB, free: 6.328 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.4977, allocations: 31.53 kB / 0.6541 GB, free: 6.289 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.4977, allocations: 0 / 0.6541 GB, free: 6.289 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001682/0.4979, allocations: 46.78 kB / 0.6541 GB, free: 6.238 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.4979, allocations: 51.41 kB / 0.6542 GB, free: 6.176 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.876e-05/0.498, allocations: 105.9 kB / 0.6543 GB, free: 6.066 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.498, allocations: 29.7 kB / 0.6543 GB, free: 6.031 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.4981, allocations: 84.92 kB / 0.6544 GB, free: 5.945 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.4981, allocations: 11.83 kB / 0.6544 GB, free: 5.934 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.4981, allocations: 4.938 kB / 0.6544 GB, free: 5.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4983, allocations: 318.8 kB / 0.6547 GB, free: 5.609 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.4983, allocations: 13 kB / 0.6547 GB, free: 5.598 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.667e-05/0.4983, allocations: 4 kB / 0.6547 GB, free: 5.594 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.295e-05/0.4983, allocations: 8.75 kB / 0.6547 GB, free: 5.586 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4983, allocations: 0 / 0.6547 GB, free: 5.586 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.146e-05/0.4984, allocations: 47.31 kB / 0.6548 GB, free: 5.535 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.4985, allocations: 8 kB / 0.6548 GB, free: 5.527 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4985, allocations: 3.984 kB / 0.6548 GB, free: 5.523 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4985, allocations: 6.984 kB / 0.6548 GB, free: 5.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.4986, allocations: 9.219 kB / 0.6548 GB, free: 5.512 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4986, allocations: 5.062 kB / 0.6548 GB, free: 5.508 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.4987, allocations: 16.89 kB / 0.6548 GB, free: 5.492 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.4987, allocations: 0 / 0.6548 GB, free: 5.492 MB / 474.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 6.764e-05/0.4988, allocations: 101.7 kB / 0.6549 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.4988, allocations: 8.5 kB / 0.6549 GB, free: 5.379 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.4988, allocations: 8.594 kB / 0.6549 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4988, allocations: 1.188 kB / 0.6549 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4988, allocations: 0.5625 kB / 0.6549 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.4989, allocations: 0 / 0.6549 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.499, allocations: 158.7 kB / 0.6551 GB, free: 5.172 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.499, allocations: 0.5 kB / 0.6551 GB, free: 5.172 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.051e-05/0.4991, allocations: 12.75 kB / 0.6551 GB, free: 5.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4991, allocations: 0.6875 kB / 0.6551 GB, free: 5.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.4991, allocations: 2.375 kB / 0.6551 GB, free: 5.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4991, allocations: 2.625 kB / 0.6551 GB, free: 5.16 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4991, allocations: 3.984 kB / 0.6551 GB, free: 5.156 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001384/0.4993, allocations: 147.5 kB / 0.6552 GB, free: 4.996 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.4993, allocations: 77.89 kB / 0.6553 GB, free: 4.902 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.4994, allocations: 4 kB / 0.6553 GB, free: 4.898 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.507e-05/0.4995, allocations: 9.531 kB / 0.6553 GB, free: 4.891 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.4995, allocations: 3.984 kB / 0.6553 GB, free: 4.887 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.4995, allocations: 0.9688 kB / 0.6553 GB, free: 4.887 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.689e-05/0.4996, allocations: 89.06 kB / 0.6554 GB, free: 4.801 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000211/0.4998, allocations: 8.531 kB / 0.6554 GB, free: 4.793 MB / 474.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 0.0001521/0.4999, allocations: 96.72 kB / 0.6555 GB, free: 4.691 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.5001, allocations: 23.98 kB / 0.6556 GB, free: 4.668 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5001, allocations: 0 / 0.6556 GB, free: 4.668 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.942e-05/0.5001, allocations: 12.62 kB / 0.6556 GB, free: 4.656 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.5003, allocations: 0.5 kB / 0.6556 GB, free: 4.656 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/0.5006, allocations: 87.73 kB / 0.6556 GB, free: 4.543 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000379/0.501, allocations: 0.6954 MB / 0.6563 GB, free: 3.824 MB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.501, allocations: 0 / 0.6563 GB, free: 3.824 MB / 474.7 MB Notification: Performance of Templates: time 0.002548/0.5036, allocations: 456.6 kB / 0.6568 GB, free: 3.41 MB / 474.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)