Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.575/1.575, allocations: 297.8 MB / 313.7 MB, free: 148 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 176.5 kB / 384.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 223.2 MB / 0.6626 GB, free: 4.387 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007613/0.0007613, allocations: 92.3 kB / 0.7808 GB, free: 43.83 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003953, allocations: 16 kB / 0.9088 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6063/0.6067, allocations: 120.3 MB / 1.026 GB, free: 56.92 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1748/0.7816, allocations: 140.8 MB / 1.164 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.7819, allocations: 72.83 kB / 1.164 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001995/0.7839, allocations: 0.8055 MB / 1.165 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.364e-06/0.7839, allocations: 0 / 1.165 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.7839, allocations: 0 / 1.165 GB, free: 0.6562 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004054/0.7843, allocations: 366.2 kB / 1.165 GB, free: 256 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.7844, allocations: 12.03 kB / 1.165 GB, free: 244 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.7844, allocations: 1.594 kB / 1.165 GB, free: 244 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.7846, allocations: 176.8 kB / 1.165 GB, free: 28 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.7846, allocations: 1.906 kB / 1.165 GB, free: 28 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.7846, allocations: 384 / 1.165 GB, free: 28 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.7849, allocations: 79.97 kB / 1.165 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.7849, allocations: 1.406 kB / 1.165 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.7849, allocations: 4.641 kB / 1.165 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.7849, allocations: 0 / 1.165 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.7852, allocations: 94.33 kB / 1.165 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.7857, allocations: 304.3 kB / 1.166 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.7859, allocations: 70.47 kB / 1.166 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.786, allocations: 50.61 kB / 1.166 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.7861, allocations: 0 / 1.166 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.7861, allocations: 38.48 kB / 1.166 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.7861, allocations: 0 / 1.166 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0004947/0.7866, allocations: 165.4 kB / 1.166 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.7867, allocations: 55.41 kB / 1.166 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.311e-05/0.7867, allocations: 105.8 kB / 1.166 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.7868, allocations: 29.7 kB / 1.166 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.7868, allocations: 92.11 kB / 1.166 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.7868, allocations: 7.906 kB / 1.166 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.7868, allocations: 4 kB / 1.166 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.787, allocations: 310.8 kB / 1.167 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.7871, allocations: 43.95 kB / 1.167 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.7872, allocations: 43.97 kB / 1.167 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.7875, allocations: 92.72 kB / 1.167 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.7875, allocations: 7.938 kB / 1.167 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002859/0.7878, allocations: 118.7 kB / 1.167 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.7878, allocations: 8 kB / 1.167 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.7878, allocations: 3.938 kB / 1.167 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.7878, allocations: 0 / 1.167 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.788, allocations: 31.97 kB / 1.167 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.788, allocations: 0 / 1.167 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.54e-05/0.788, allocations: 15.98 kB / 1.167 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.7881, allocations: 0 / 1.167 GB, free: 14.16 MB / 0.7448 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 6.119e-05/0.7881, allocations: 117.7 kB / 1.167 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.7881, allocations: 4 kB / 1.167 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003169/0.7885, allocations: 133.5 kB / 1.167 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.7885, allocations: 0.75 kB / 1.167 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.7885, allocations: 0 / 1.167 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.7885, allocations: 4 kB / 1.167 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.7886, allocations: 173.6 kB / 1.167 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.7887, allocations: 0 / 1.167 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.7888, allocations: 19.98 kB / 1.167 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.7888, allocations: 4 kB / 1.167 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.7888, allocations: 0 / 1.167 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.7888, allocations: 0 / 1.167 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7888, allocations: 0 / 1.167 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.7891, allocations: 227.9 kB / 1.168 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.7892, allocations: 85.05 kB / 1.168 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.7892, allocations: 0 / 1.168 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.7893, allocations: 19.98 kB / 1.168 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.7893, allocations: 9.953 kB / 1.168 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.7893, allocations: 4 kB / 1.168 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.509e-05/0.7894, allocations: 83.27 kB / 1.168 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7894, allocations: 0 / 1.168 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001944/0.7896, allocations: 12 kB / 1.168 GB, free: 13.19 MB / 0.7448 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.0001001/0.7897, allocations: 95.78 kB / 1.168 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002988/0.79, allocations: 91.92 kB / 1.168 GB, free: 13 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.79, allocations: 4 kB / 1.168 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.7902, allocations: 43.91 kB / 1.168 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.7904, allocations: 15.92 kB / 1.168 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.7907, allocations: 133.1 kB / 1.168 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.7909, allocations: 0.677 MB / 1.169 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.646e-05/0.7909, allocations: 4 kB / 1.169 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.791, allocations: 7.438 kB / 1.169 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/0.791, allocations: 0 / 1.169 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of Templates: time 0.002059/0.793, allocations: 0.5268 MB / 1.169 GB, free: 11.54 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)