Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01022/0.01022, allocations: 101.3 kB / 15.73 MB, free: 6.438 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.001852/0.001852, allocations: 194.3 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.73/1.73, allocations: 251.7 MB / 0.5094 GB, free: 3.098 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001463, allocations: 67.91 kB / 0.7258 GB, free: 8.949 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3242, allocations: 104.7 MB / 0.8281 GB, free: 144 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.002935/0.3272, allocations: 1.419 MB / 0.8295 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003853/0.3276, allocations: 128.8 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.3277, allocations: 0 / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.3277, allocations: 3.938 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.323e-05/0.3278, allocations: 7.938 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.273e-05/0.3279, allocations: 15.98 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.82e-05/0.328, allocations: 43.84 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.3281, allocations: 8 kB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.432e-05/0.3282, allocations: 19.98 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/0.3282, allocations: 19.91 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.3283, allocations: 4 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.3283, allocations: 7.938 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.3283, allocations: 7.984 kB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.3284, allocations: 23.92 kB / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.766e-05/0.3285, allocations: 51.69 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3285, allocations: 0 / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3285, allocations: 0 / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.3285, allocations: 0 / 0.8298 GB, free: 14.38 MB / 0.6544 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.0005509/0.329, allocations: 359.3 kB / 0.8302 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3291, allocations: 8.031 kB / 0.8302 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.3291, allocations: 8.922 kB / 0.8302 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.3293, allocations: 176.2 kB / 0.8303 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3293, allocations: 384 / 0.8303 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.3293, allocations: 4.375 kB / 0.8303 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.3295, allocations: 66.22 kB / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3296, allocations: 192 / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.3296, allocations: 7.938 kB / 0.8304 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3296, allocations: 0 / 0.8304 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002515/0.3298, allocations: 71.86 kB / 0.8305 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.3302, allocations: 257 kB / 0.8307 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.3304, allocations: 62.47 kB / 0.8308 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.3306, allocations: 40.92 kB / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.3306, allocations: 0 / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.3306, allocations: 30.56 kB / 0.8309 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.715e-06/0.3306, allocations: 0 / 0.8309 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0004936/0.3311, allocations: 137.4 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.3312, allocations: 51.41 kB / 0.831 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.215e-05/0.3313, allocations: 117.8 kB / 0.8312 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.3313, allocations: 25.7 kB / 0.8312 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.3314, allocations: 84.14 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.3314, allocations: 15.83 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.3314, allocations: 9.719 kB / 0.8313 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3316, allocations: 322.8 kB / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.3317, allocations: 35.89 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.3318, allocations: 27.97 kB / 0.8316 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.3321, allocations: 76.72 kB / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3321, allocations: 7.875 kB / 0.8317 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002782/0.3324, allocations: 97.53 kB / 0.8318 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3324, allocations: 4 kB / 0.8318 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3324, allocations: 0 / 0.8318 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3324, allocations: 0 / 0.8318 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3326, allocations: 15.98 kB / 0.8318 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3326, allocations: 4 kB / 0.8318 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.108e-05/0.3327, allocations: 15.97 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.3327, allocations: 0 / 0.8319 GB, free: 12.05 MB / 0.6544 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.208e-05/0.3328, allocations: 117.8 kB / 0.832 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.3328, allocations: 0 / 0.832 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.3328, allocations: 3.906 kB / 0.832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3328, allocations: 4.328 kB / 0.832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3329, allocations: 3.938 kB / 0.832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3329, allocations: 4 kB / 0.832 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.3331, allocations: 181.5 kB / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3331, allocations: 0 / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.654e-05/0.3332, allocations: 15.98 kB / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3332, allocations: 0 / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.3332, allocations: 4 kB / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3332, allocations: 0 / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3332, allocations: 0 / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.3335, allocations: 199.4 kB / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.3336, allocations: 77.11 kB / 0.8324 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.3336, allocations: 0 / 0.8324 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.254e-05/0.3337, allocations: 11.98 kB / 0.8325 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.3338, allocations: 11.98 kB / 0.8325 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.3338, allocations: 0 / 0.8325 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.039e-05/0.3338, allocations: 87.59 kB / 0.8326 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3338, allocations: 7.938 kB / 0.8326 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002139/0.3341, allocations: 7.906 kB / 0.8326 GB, free: 11.23 MB / 0.6544 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.0001545/0.3342, allocations: 99.25 kB / 0.8327 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.3345, allocations: 71.91 kB / 0.8327 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3346, allocations: 4 kB / 0.8327 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.3347, allocations: 31.97 kB / 0.8328 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.335, allocations: 18.52 kB / 0.8328 GB, free: 11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.3354, allocations: 129.3 kB / 0.8329 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.3357, allocations: 0.6883 MB / 0.8336 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.365e-05/0.3358, allocations: 4 kB / 0.8336 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.3358, allocations: 11.44 kB / 0.8336 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.3358, allocations: 0 / 0.8336 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.002868/0.3387, allocations: 0.6775 MB / 0.8343 GB, free: 9.445 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)