Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 292.3 MB / 308.1 MB, free: 4.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 187.7 kB / 376.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205 MB / 0.6353 GB, free: 9.828 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.001039, allocations: 102.5 kB / 0.748 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 51.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.353, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.002761/0.3559, allocations: 0.7556 MB / 0.983 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3572, allocations: 0.8048 MB / 0.9838 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.459e-05/0.3573, allocations: 0 / 0.9838 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.508e-05/0.3573, allocations: 0 / 0.9838 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.3575, allocations: 7.922 kB / 0.9838 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 7.121e-05/0.3575, allocations: 12 kB / 0.9838 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.3577, allocations: 39.91 kB / 0.9838 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.3578, allocations: 12 kB / 0.9838 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.95e-05/0.3579, allocations: 23.86 kB / 0.9839 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.358, allocations: 19.91 kB / 0.9839 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.358, allocations: 4 kB / 0.9839 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.358, allocations: 0 / 0.9839 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.3581, allocations: 11.92 kB / 0.9839 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.3581, allocations: 15.92 kB / 0.9839 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.3582, allocations: 31.88 kB / 0.9839 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3582, allocations: 0 / 0.9839 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3582, allocations: 0 / 0.9839 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3583, allocations: 8 kB / 0.9839 GB, free: 8.629 MB / 0.7136 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.0007268/0.359, allocations: 363.6 kB / 0.9843 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.3591, allocations: 8.031 kB / 0.9843 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.3591, allocations: 0.9375 kB / 0.9843 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.3593, allocations: 180.2 kB / 0.9845 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.3593, allocations: 8.312 kB / 0.9845 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.3594, allocations: 4.375 kB / 0.9845 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.3597, allocations: 70.22 kB / 0.9846 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.3597, allocations: 192 / 0.9846 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.3597, allocations: 7.875 kB / 0.9846 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3598, allocations: 0 / 0.9846 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.3601, allocations: 63.92 kB / 0.9846 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.3606, allocations: 273 kB / 0.9849 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.3608, allocations: 54.48 kB / 0.9849 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.361, allocations: 40.91 kB / 0.985 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.3611, allocations: 7.938 kB / 0.985 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.3611, allocations: 30.56 kB / 0.985 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.555e-06/0.3611, allocations: 7.938 kB / 0.985 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0006012/0.3617, allocations: 129.5 kB / 0.9851 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.3618, allocations: 55.41 kB / 0.9852 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3619, allocations: 105.8 kB / 0.9853 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.3619, allocations: 25.7 kB / 0.9853 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.362, allocations: 88.14 kB / 0.9854 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.362, allocations: 7.906 kB / 0.9854 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.3621, allocations: 13.72 kB / 0.9854 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3622, allocations: 318.8 kB / 0.9857 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.3624, allocations: 27.97 kB / 0.9858 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.3626, allocations: 39.89 kB / 0.9858 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.363, allocations: 65.06 kB / 0.9859 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.363, allocations: 3.938 kB / 0.9859 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003361/0.3634, allocations: 109.5 kB / 0.986 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.3634, allocations: 8 kB / 0.986 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3634, allocations: 0 / 0.986 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3634, allocations: 0 / 0.986 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.3636, allocations: 11.98 kB / 0.986 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3636, allocations: 4 kB / 0.986 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.3637, allocations: 11.98 kB / 0.986 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.3637, allocations: 4 kB / 0.986 GB, free: 6.297 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.92e-05/0.3638, allocations: 117.7 kB / 0.9861 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.3639, allocations: 11.98 kB / 0.9861 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.3639, allocations: 3.906 kB / 0.9861 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3639, allocations: 3.938 kB / 0.9861 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.3639, allocations: 0 / 0.9861 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3639, allocations: 0 / 0.9861 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.3641, allocations: 173.5 kB / 0.9863 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3642, allocations: 4 kB / 0.9863 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3643, allocations: 19.97 kB / 0.9863 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3643, allocations: 0 / 0.9863 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3643, allocations: 0 / 0.9863 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3643, allocations: 4 kB / 0.9863 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3643, allocations: 0 / 0.9863 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008606/0.3652, allocations: 0.7785 MB / 0.9871 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.3652, allocations: 85 kB / 0.9872 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.3653, allocations: 0 / 0.9872 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.3654, allocations: 11.98 kB / 0.9872 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.3655, allocations: 7.938 kB / 0.9872 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.3655, allocations: 7.984 kB / 0.9872 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.159e-05/0.3655, allocations: 83.28 kB / 0.9873 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3655, allocations: 0 / 0.9873 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003119/0.3658, allocations: 11.94 kB / 0.9873 GB, free: 4.844 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001725/0.366, allocations: 99.25 kB / 0.9874 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003592/0.3664, allocations: 75.86 kB / 0.9874 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3664, allocations: 0 / 0.9874 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.3666, allocations: 35.95 kB / 0.9875 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.3669, allocations: 6.25 kB / 0.9875 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.3674, allocations: 250.2 kB / 0.9877 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.3677, allocations: 0.677 MB / 0.9884 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.35e-05/0.3678, allocations: 7.984 kB / 0.9884 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.3678, allocations: 7.438 kB / 0.9884 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of SimCode: time 9.52e-07/0.3678, allocations: 0 / 0.9884 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of Templates: time 0.003374/0.3712, allocations: 0.5636 MB / 0.989 GB, free: 3.066 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)