Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.614/1.614, allocations: 297.8 MB / 313.7 MB, free: 116 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.0008804/0.0008804, allocations: 186.3 kB / 384.6 MB, free: 10.84 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.255/1.255, allocations: 223.2 MB / 0.6626 GB, free: 4.191 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.0007852/0.0007853, allocations: 94.11 kB / 0.7808 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003679, allocations: 20.56 kB / 0.9088 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5352/0.5356, allocations: 120.3 MB / 1.026 GB, free: 55.95 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.6829, allocations: 140.8 MB / 1.164 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.6832, allocations: 71.53 kB / 1.164 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001369/0.6845, allocations: 0.642 MB / 1.164 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6846, allocations: 0 / 1.164 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.6846, allocations: 0 / 1.164 GB, free: 2.012 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000249/0.6848, allocations: 341 kB / 1.165 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.6849, allocations: 8.031 kB / 1.165 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.289e-05/0.6849, allocations: 3.109 kB / 1.165 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.662e-05/0.685, allocations: 177.4 kB / 1.165 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.685, allocations: 4.312 kB / 1.165 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.685, allocations: 3.656 kB / 1.165 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.6851, allocations: 53.39 kB / 1.165 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.6852, allocations: 192 / 1.165 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.6852, allocations: 3.938 kB / 1.165 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.6852, allocations: 0.5 kB / 1.165 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.6853, allocations: 49.53 kB / 1.165 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.6856, allocations: 257.2 kB / 1.165 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.929e-05/0.6857, allocations: 54.14 kB / 1.165 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.212e-05/0.6858, allocations: 27.73 kB / 1.165 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.6858, allocations: 4.656 kB / 1.165 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.6859, allocations: 33.14 kB / 1.165 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.6859, allocations: 1.156 kB / 1.165 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.000283/0.6862, allocations: 96.08 kB / 1.166 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.6862, allocations: 56.42 kB / 1.166 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.55e-05/0.6862, allocations: 107 kB / 1.166 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.6862, allocations: 28.66 kB / 1.166 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.235e-05/0.6863, allocations: 84.83 kB / 1.166 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.6863, allocations: 4.562 kB / 1.166 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-06/0.6863, allocations: 0.6562 kB / 1.166 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 3.857e-05/0.6863, allocations: 320.1 kB / 1.166 GB, free: 232 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.799e-05/0.6864, allocations: 18.19 kB / 1.166 GB, free: 220 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-05/0.6865, allocations: 27.56 kB / 1.166 GB, free: 200 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.6866, allocations: 49.41 kB / 1.166 GB, free: 160 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6866, allocations: 0 / 1.166 GB, free: 160 kB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001528/0.6868, allocations: 79.36 kB / 1.166 GB, free: 88 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.6868, allocations: 9.344 kB / 1.166 GB, free: 80 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.6868, allocations: 0 / 1.166 GB, free: 80 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.6868, allocations: 0.6875 kB / 1.166 GB, free: 80 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.412e-05/0.6869, allocations: 15.73 kB / 1.166 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.6869, allocations: 2.281 kB / 1.166 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.687, allocations: 10.53 kB / 1.166 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.687, allocations: 0 / 1.166 GB, free: 60 kB / 0.7292 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 (2): * Single equations (assignments): 2 * 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.502e-05/0.6871, allocations: 118.8 kB / 1.166 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.6871, allocations: 0.5 kB / 1.166 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.6873, allocations: 81.8 kB / 1.167 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6873, allocations: 2.234 kB / 1.167 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.6873, allocations: 0 / 1.167 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.6873, allocations: 0.6875 kB / 1.167 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.6875, allocations: 158.4 kB / 1.167 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.6875, allocations: 5 kB / 1.167 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.6876, allocations: 17.27 kB / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.6876, allocations: 0.5625 kB / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.6876, allocations: 2.297 kB / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6876, allocations: 5.453 kB / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.6876, allocations: 0 / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.6878, allocations: 173 kB / 1.167 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.6879, allocations: 81.95 kB / 1.167 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.6879, allocations: 0.8906 kB / 1.167 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.6879, allocations: 10.81 kB / 1.167 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.688, allocations: 7.141 kB / 1.167 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.688, allocations: 0 / 1.167 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.438e-05/0.688, allocations: 85.58 kB / 1.167 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.688, allocations: 0 / 1.167 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001888/0.6882, allocations: 4 kB / 1.167 GB, free: 15.29 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 (2): * Single equations (assignments): 2 * 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.0001126/0.6884, allocations: 99.58 kB / 1.167 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001882/0.6885, allocations: 53.03 kB / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6886, allocations: 0 / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.643e-05/0.6886, allocations: 26.05 kB / 1.167 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.6889, allocations: 12.06 kB / 1.167 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.6891, allocations: 106.9 kB / 1.167 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.6894, allocations: 0.6759 MB / 1.168 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.992e-05/0.6894, allocations: 0 / 1.168 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.6894, allocations: 12.23 kB / 1.168 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/0.6894, allocations: 0 / 1.168 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of Templates: time 0.001896/0.6913, allocations: 356.4 kB / 1.168 GB, free: 14.08 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1)