Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.617/1.617, allocations: 297.8 MB / 313.7 MB, free: 88 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.0009588/0.0009589, allocations: 176.5 kB / 384.6 MB, free: 10.79 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.292/1.292, allocations: 223.2 MB / 0.6626 GB, free: 4.223 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.0007244/0.0007245, allocations: 93.7 kB / 0.7808 GB, free: 50.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003719, allocations: 15.94 kB / 0.9088 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5638/0.5642, allocations: 120.3 MB / 1.026 GB, free: 55.84 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.7255, allocations: 140.8 MB / 1.164 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.7257, allocations: 68.92 kB / 1.164 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001899/0.7276, allocations: 0.7993 MB / 1.165 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.945e-06/0.7276, allocations: 0.875 kB / 1.165 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.7276, allocations: 8.969 kB / 1.165 GB, free: 1.895 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.000337/0.728, allocations: 369.3 kB / 1.165 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.728, allocations: 9.438 kB / 1.165 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.7281, allocations: 1.781 kB / 1.165 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.407e-05/0.7281, allocations: 174.5 kB / 1.165 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.7282, allocations: 1.25 kB / 1.165 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.7282, allocations: 8.375 kB / 1.165 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.7284, allocations: 81.28 kB / 1.165 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.7284, allocations: 192 / 1.165 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.7284, allocations: 7.938 kB / 1.165 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.7284, allocations: 1.844 kB / 1.165 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000256/0.7287, allocations: 87.16 kB / 1.165 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.7291, allocations: 303 kB / 1.166 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.7293, allocations: 70.72 kB / 1.166 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.7294, allocations: 49.14 kB / 1.166 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.7295, allocations: 1.031 kB / 1.166 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.211e-05/0.7295, allocations: 35.09 kB / 1.166 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.7295, allocations: 0 / 1.166 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0004736/0.73, allocations: 170.5 kB / 1.166 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.73, allocations: 51.41 kB / 1.166 GB, free: 496 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.131e-05/0.7301, allocations: 106.8 kB / 1.166 GB, free: 384 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.7301, allocations: 29.42 kB / 1.166 GB, free: 352 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.7301, allocations: 90.64 kB / 1.166 GB, free: 260 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.7301, allocations: 8.5 kB / 1.166 GB, free: 252 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.7301, allocations: 0 / 1.166 GB, free: 252 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.7302, allocations: 322.7 kB / 1.167 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.7304, allocations: 40.12 kB / 1.167 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.7305, allocations: 43.52 kB / 1.167 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.7308, allocations: 99.42 kB / 1.167 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.7308, allocations: 3.938 kB / 1.167 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003123/0.7311, allocations: 121 kB / 1.167 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.7311, allocations: 8.656 kB / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.7312, allocations: 0 / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.7312, allocations: 0 / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.7313, allocations: 25.77 kB / 1.167 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.7313, allocations: 0.9375 kB / 1.167 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.315e-05/0.7314, allocations: 18.34 kB / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.7314, allocations: 0 / 1.167 GB, free: 15.65 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 8.28e-05/0.7315, allocations: 122.9 kB / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.7315, allocations: 4 kB / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.7316, allocations: 8.609 kB / 1.167 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7316, allocations: 1.078 kB / 1.167 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.7316, allocations: 4 kB / 1.167 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.7316, allocations: 1.031 kB / 1.167 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.7318, allocations: 166.8 kB / 1.167 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.7318, allocations: 0 / 1.167 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.7319, allocations: 25.47 kB / 1.167 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.7319, allocations: 8 kB / 1.167 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.7319, allocations: 1.75 kB / 1.167 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7319, allocations: 2.188 kB / 1.167 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7319, allocations: 0 / 1.167 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.7323, allocations: 217 kB / 1.167 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.7323, allocations: 77.86 kB / 1.167 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.7323, allocations: 8.797 kB / 1.167 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.7324, allocations: 18.09 kB / 1.167 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.7325, allocations: 6.156 kB / 1.167 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.7325, allocations: 0.8125 kB / 1.167 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.433e-05/0.7325, allocations: 90.31 kB / 1.168 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7325, allocations: 0 / 1.168 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001924/0.7327, allocations: 4 kB / 1.168 GB, free: 14.86 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.000118/0.7329, allocations: 104.5 kB / 1.168 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.7332, allocations: 91.55 kB / 1.168 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.7332, allocations: 0 / 1.168 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.7333, allocations: 45.94 kB / 1.168 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.7336, allocations: 15.41 kB / 1.168 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.7339, allocations: 135.8 kB / 1.168 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.7342, allocations: 0.6812 MB / 1.169 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.576e-05/0.7342, allocations: 4.781 kB / 1.169 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.7343, allocations: 11.44 kB / 1.169 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of SimCode: time 2.81e-07/0.7343, allocations: 4 kB / 1.169 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of Templates: time 0.002193/0.7365, allocations: 0.5226 MB / 1.169 GB, free: 13.48 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)