Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality") translateModel(BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.7147/0.7147, allocations: 127.4 MB / 134.6 MB, free: 4.094 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 185.3 kB / 164.4 MB, free: 6.875 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.1 MB / 399.1 MB, free: 6.051 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 81.72 kB / 476.3 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.71e-06/5.79e-06, allocations: 0 / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1645, allocations: 76.75 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4724/0.6369, allocations: 102.5 MB / 0.721 GB, free: 9.852 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.6372, allocations: 79.89 kB / 0.7211 GB, free: 9.773 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.004245/0.6415, allocations: 1.149 MB / 0.7222 GB, free: 8.633 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.6415, allocations: 0 / 0.7222 GB, free: 8.633 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.000388/0.6419, allocations: 354.4 kB / 0.7226 GB, free: 8.242 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.6419, allocations: 8.031 kB / 0.7226 GB, free: 8.234 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.642, allocations: 7.906 kB / 0.7226 GB, free: 8.227 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.6421, allocations: 178.8 kB / 0.7227 GB, free: 8.012 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.6422, allocations: 1.188 kB / 0.7227 GB, free: 8.012 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.6422, allocations: 0 / 0.7227 GB, free: 8.012 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.53e-05/0.6423, allocations: 27.98 kB / 0.7228 GB, free: 7.984 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.446e-05/0.6424, allocations: 49.69 kB / 0.7228 GB, free: 7.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.6424, allocations: 0 / 0.7228 GB, free: 7.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.6424, allocations: 4 kB / 0.7228 GB, free: 7.926 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6424, allocations: 0 / 0.7228 GB, free: 7.926 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.6429, allocations: 282.1 kB / 0.7231 GB, free: 7.613 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.6431, allocations: 42.56 kB / 0.7231 GB, free: 7.562 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.6431, allocations: 12.92 kB / 0.7231 GB, free: 7.547 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.6432, allocations: 0 / 0.7231 GB, free: 7.547 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.6432, allocations: 42.59 kB / 0.7232 GB, free: 7.496 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.6432, allocations: 0 / 0.7232 GB, free: 7.496 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001738/0.6434, allocations: 49.59 kB / 0.7232 GB, free: 7.441 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.6434, allocations: 51.41 kB / 0.7233 GB, free: 7.379 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.071e-05/0.6435, allocations: 108.9 kB / 0.7234 GB, free: 7.266 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.6435, allocations: 25.7 kB / 0.7234 GB, free: 7.234 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.6436, allocations: 84.14 kB / 0.7235 GB, free: 7.148 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.6436, allocations: 19.73 kB / 0.7235 GB, free: 7.129 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-06/0.6436, allocations: 0 / 0.7235 GB, free: 7.129 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.6438, allocations: 318.8 kB / 0.7238 GB, free: 6.809 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.6438, allocations: 6.438 kB / 0.7238 GB, free: 6.805 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.183e-05/0.6438, allocations: 12.03 kB / 0.7238 GB, free: 6.793 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.6439, allocations: 11.98 kB / 0.7238 GB, free: 6.781 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6439, allocations: 0 / 0.7238 GB, free: 6.781 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.482e-05/0.644, allocations: 49.55 kB / 0.7239 GB, free: 6.727 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.644, allocations: 11.98 kB / 0.7239 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.644, allocations: 0.875 kB / 0.7239 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.644, allocations: 0 / 0.7239 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.6441, allocations: 15.94 kB / 0.7239 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.6441, allocations: 0 / 0.7239 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.6442, allocations: 11.98 kB / 0.7239 GB, free: 6.688 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.6442, allocations: 0 / 0.7239 GB, free: 6.688 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 () * 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.775e-05/0.6443, allocations: 101 kB / 0.724 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.6443, allocations: 7.906 kB / 0.724 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.6444, allocations: 12 kB / 0.724 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6444, allocations: 0 / 0.724 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6444, allocations: 1.312 kB / 0.724 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.6444, allocations: 3.984 kB / 0.724 GB, free: 6.559 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.6446, allocations: 154.1 kB / 0.7242 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.6446, allocations: 0 / 0.7242 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.673e-05/0.6446, allocations: 8 kB / 0.7242 GB, free: 6.363 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.6447, allocations: 0 / 0.7242 GB, free: 6.363 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.6447, allocations: 7.984 kB / 0.7242 GB, free: 6.355 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.6447, allocations: 0 / 0.7242 GB, free: 6.355 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.6447, allocations: 4 kB / 0.7242 GB, free: 6.352 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001213/0.6448, allocations: 151.4 kB / 0.7244 GB, free: 6.188 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.6449, allocations: 81.02 kB / 0.7244 GB, free: 6.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.6449, allocations: 4 kB / 0.7244 GB, free: 6.086 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.437e-05/0.645, allocations: 8.375 kB / 0.7244 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.645, allocations: 3.984 kB / 0.7244 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.645, allocations: 0 / 0.7244 GB, free: 6.074 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.908e-05/0.6451, allocations: 91.22 kB / 0.7245 GB, free: 5.984 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002079/0.6453, allocations: 8 kB / 0.7245 GB, free: 5.977 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 () * 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.000112/0.6454, allocations: 95.23 kB / 0.7246 GB, free: 5.871 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.753e-05/0.6455, allocations: 19.94 kB / 0.7247 GB, free: 5.852 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6455, allocations: 4 kB / 0.7247 GB, free: 5.848 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.673e-05/0.6456, allocations: 12 kB / 0.7247 GB, free: 5.836 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.6457, allocations: 11.91 kB / 0.7247 GB, free: 5.824 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.646, allocations: 71.95 kB / 0.7247 GB, free: 5.727 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.6463, allocations: 0.6993 MB / 0.7254 GB, free: 5.004 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6463, allocations: 0 / 0.7254 GB, free: 5.004 MB / 490.7 MB Notification: Performance of Templates: time 0.002252/0.6486, allocations: 470.1 kB / 0.7259 GB, free: 4.551 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)