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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6744/0.6744, allocations: 117.9 MB / 133.9 MB, free: 4.516 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.001005/0.001005, allocations: 178 kB / 161.7 MB, free: 2.738 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.4 MB / 394.8 MB, free: 20.94 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.0008109/0.000811, allocations: 100.5 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006948/0.000695, allocations: 12 kB / 0.5423 GB, free: 6.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4231, allocations: 74.54 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.5628, allocations: 102.2 MB / 0.7149 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.563, allocations: 87.94 kB / 0.715 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004341/0.5674, allocations: 1.489 MB / 0.7165 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.725e-06/0.5674, allocations: 0 / 0.7165 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.5674, allocations: 4 kB / 0.7165 GB, free: 14.16 MB / 0.4948 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.000466/0.5679, allocations: 367.3 kB / 0.7168 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.568, allocations: 11.97 kB / 0.7169 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.568, allocations: 8.875 kB / 0.7169 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.5682, allocations: 164.3 kB / 0.717 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.5682, allocations: 4.375 kB / 0.717 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.5682, allocations: 4.375 kB / 0.717 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.5685, allocations: 70.23 kB / 0.7171 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.5685, allocations: 192 / 0.7171 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.5685, allocations: 7.922 kB / 0.7171 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.5685, allocations: 0 / 0.7171 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.5687, allocations: 51.91 kB / 0.7171 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005501/0.5693, allocations: 312.6 kB / 0.7174 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.5696, allocations: 74.53 kB / 0.7175 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.5697, allocations: 28.91 kB / 0.7175 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.5697, allocations: 3.938 kB / 0.7175 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.5698, allocations: 34.56 kB / 0.7176 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 2.665e-06/0.5698, allocations: 0 / 0.7176 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003842/0.5702, allocations: 97.59 kB / 0.7177 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.5702, allocations: 59.39 kB / 0.7177 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.5704, allocations: 121.8 kB / 0.7178 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.5704, allocations: 25.7 kB / 0.7179 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.5704, allocations: 88.05 kB / 0.718 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.5705, allocations: 11.89 kB / 0.718 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.5705, allocations: 0 / 0.718 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5707, allocations: 318.8 kB / 0.7183 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.97e-05/0.5707, allocations: 19.98 kB / 0.7183 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-05/0.5708, allocations: 31.92 kB / 0.7183 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.571, allocations: 40.83 kB / 0.7184 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.571, allocations: 0 / 0.7184 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002178/0.5712, allocations: 85.58 kB / 0.7184 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.5713, allocations: 4 kB / 0.7184 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5713, allocations: 0 / 0.7184 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.5713, allocations: 0 / 0.7184 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.58e-05/0.5714, allocations: 11.98 kB / 0.7185 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.5714, allocations: 0 / 0.7185 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.304e-05/0.5715, allocations: 19.98 kB / 0.7185 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.5715, allocations: 0 / 0.7185 GB, free: 11.9 MB / 0.4948 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.05e-05/0.5716, allocations: 121.7 kB / 0.7186 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.5716, allocations: 0 / 0.7186 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.5716, allocations: 15.84 kB / 0.7186 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5716, allocations: 0 / 0.7186 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5717, allocations: 0 / 0.7186 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5717, allocations: 0 / 0.7186 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.5719, allocations: 177.5 kB / 0.7188 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5719, allocations: 4 kB / 0.7188 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/0.5719, allocations: 15.98 kB / 0.7188 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.572, allocations: 0 / 0.7188 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.572, allocations: 0 / 0.7188 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.572, allocations: 0 / 0.7188 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.572, allocations: 0 / 0.7188 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.5723, allocations: 179.7 kB / 0.719 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.5723, allocations: 88.95 kB / 0.7191 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.5723, allocations: 3.938 kB / 0.7191 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.5724, allocations: 8 kB / 0.7191 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.5725, allocations: 12.02 kB / 0.7191 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.5725, allocations: 0 / 0.7191 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.779e-05/0.5725, allocations: 99.64 kB / 0.7192 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5726, allocations: 0 / 0.7192 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000211/0.5728, allocations: 8 kB / 0.7192 GB, free: 11.09 MB / 0.4948 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.0001405/0.5729, allocations: 99.03 kB / 0.7193 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.5732, allocations: 47.91 kB / 0.7193 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5732, allocations: 4 kB / 0.7193 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.679e-05/0.5733, allocations: 27.92 kB / 0.7193 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.5736, allocations: 4 kB / 0.7194 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.5741, allocations: 164.6 kB / 0.7195 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.5745, allocations: 0.6848 MB / 0.7202 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.531e-05/0.5745, allocations: 4 kB / 0.7202 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.5746, allocations: 7.438 kB / 0.7202 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of SimCode: time 3.21e-07/0.5746, allocations: 0 / 0.7202 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of Templates: time 0.002456/0.5771, allocations: 419.3 kB / 0.7206 GB, free: 9.578 MB / 0.4948 GB 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)