Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 192 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.821/2.821, allocations: 472.6 MB / 0.7448 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 68.48 kB / 0.9115 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3638, allocations: 159.9 MB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002054/0.366, allocations: 0.7633 MB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.367, allocations: 0.8001 MB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.326e-05/0.3671, allocations: 4 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.3671, allocations: 7.875 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.647e-05/0.3672, allocations: 7.922 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.899e-05/0.3673, allocations: 7.984 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.389e-05/0.3673, allocations: 47.86 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3675, allocations: 11.98 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.167e-05/0.3675, allocations: 15.94 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.11e-05/0.3676, allocations: 27.91 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3676, allocations: 4 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-06/0.3676, allocations: 0 / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.3677, allocations: 8 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.3677, allocations: 23.86 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.3678, allocations: 39.86 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.3678, allocations: 4 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3678, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.3678, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 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.0006535/0.3685, allocations: 363.7 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.3686, allocations: 8.031 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.3686, allocations: 8.844 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.3688, allocations: 164.3 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.3688, allocations: 8.375 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.3688, allocations: 384 / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.3691, allocations: 70.16 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3691, allocations: 192 / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.3692, allocations: 11.92 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.3692, allocations: 4 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002753/0.3695, allocations: 55.94 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.3699, allocations: 264.9 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.3701, allocations: 74.39 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.3703, allocations: 32.92 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.3703, allocations: 0 / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.3703, allocations: 38.56 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3703, allocations: 4 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005359/0.3709, allocations: 125.6 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.3709, allocations: 51.41 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.994e-05/0.371, allocations: 113.7 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.3711, allocations: 25.7 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.451e-05/0.3712, allocations: 96.05 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.3712, allocations: 7.891 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.3712, allocations: 17.72 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002535/0.3715, allocations: 310.8 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.3716, allocations: 35.95 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.3718, allocations: 31.97 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.372, allocations: 72.72 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3721, allocations: 3.938 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002909/0.3724, allocations: 97.62 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3724, allocations: 4 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3724, allocations: 0 / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3724, allocations: 3.938 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3725, allocations: 15.98 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.3726, allocations: 3.984 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.317e-05/0.3726, allocations: 11.98 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.3727, allocations: 0 / 1.071 GB, free: 6.621 MB / 0.8262 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.214e-05/0.3727, allocations: 117.8 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.3728, allocations: 7.906 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.3728, allocations: 7.906 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3728, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3728, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3728, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.373, allocations: 173.6 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.373, allocations: 4 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.211e-05/0.3731, allocations: 19.98 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3732, allocations: 4 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.3732, allocations: 0 / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3732, allocations: 0 / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3732, allocations: 4 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.3735, allocations: 195.3 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.3736, allocations: 89.33 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.3736, allocations: 0 / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3737, allocations: 15.98 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.3737, allocations: 3.984 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.3738, allocations: 11.92 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.3738, allocations: 83.28 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3738, allocations: 0 / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002106/0.374, allocations: 8 kB / 1.072 GB, free: 5.789 MB / 0.8262 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.000146/0.3742, allocations: 103.2 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003276/0.3745, allocations: 67.92 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3745, allocations: 3.938 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.3747, allocations: 35.97 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.375, allocations: 12.48 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.3753, allocations: 145.3 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.3757, allocations: 0.6845 MB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.737e-05/0.3757, allocations: 4 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.3757, allocations: 7.438 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3758, allocations: 0 / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of Templates: time 0.002565/0.3783, allocations: 0.5694 MB / 1.074 GB, free: 4.109 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1)