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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001025, 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.001073/0.001073, allocations: 191.9 kB / 16.25 MB, free: 6.625 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.638/1.638, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.806/1.806, allocations: 292.2 MB / 0.5485 GB, free: 13.63 MB / 462.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.001437/0.001437, allocations: 65.67 kB / 0.671 GB, free: 26.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3129, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.003297/0.3163, allocations: 0.7737 MB / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.3179, allocations: 0.7971 MB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.674e-05/0.318, allocations: 3.938 kB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.542e-05/0.3181, allocations: 3.984 kB / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.452e-05/0.3182, allocations: 7.938 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.956e-05/0.3183, allocations: 12 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.3184, allocations: 43.84 kB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.3185, allocations: 8 kB / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.3187, allocations: 19.92 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.29e-05/0.3187, allocations: 23.91 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.3188, allocations: 7.984 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.3188, allocations: 4 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.3188, allocations: 8 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.3189, allocations: 23.8 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.319, allocations: 39.88 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.319, allocations: 0 / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.337e-06/0.319, allocations: 0 / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.319, allocations: 0 / 0.7846 GB, free: 12.12 MB / 0.6075 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.0007284/0.3197, allocations: 363.7 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.3198, allocations: 8.031 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/0.3199, allocations: 16.83 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.32, allocations: 176.2 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.3201, allocations: 384 / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.3201, allocations: 384 / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.3204, allocations: 74.16 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3204, allocations: 192 / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.3204, allocations: 3.938 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3204, allocations: 0 / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.3207, allocations: 67.92 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.3212, allocations: 265 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.3215, allocations: 66.41 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.3216, allocations: 40.92 kB / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.3216, allocations: 0 / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3217, allocations: 30.56 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3217, allocations: 0 / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005453/0.3222, allocations: 129.6 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.3223, allocations: 55.34 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.564e-05/0.3224, allocations: 109.8 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.3224, allocations: 25.7 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.3226, allocations: 88.05 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.3226, allocations: 11.84 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.3226, allocations: 17.72 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3228, allocations: 318.8 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.3229, allocations: 27.97 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.323, allocations: 31.95 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.3233, allocations: 72.78 kB / 0.7865 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3233, allocations: 3.938 kB / 0.7865 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000296/0.3236, allocations: 93.62 kB / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3236, allocations: 4 kB / 0.7866 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3237, allocations: 0 / 0.7866 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3237, allocations: 4 kB / 0.7866 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.3238, allocations: 23.92 kB / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3238, allocations: 0 / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.76e-05/0.3239, allocations: 19.89 kB / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.3239, allocations: 0 / 0.7866 GB, free: 9.785 MB / 0.6075 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 8.581e-05/0.324, allocations: 122.4 kB / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.3241, allocations: 0 / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.3241, allocations: 7.906 kB / 0.7868 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3241, allocations: 8.328 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3241, allocations: 0 / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3241, allocations: 0 / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.3243, allocations: 177.5 kB / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3243, allocations: 0 / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.451e-05/0.3244, allocations: 15.97 kB / 0.787 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.3244, allocations: 0 / 0.787 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3245, allocations: 4 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3245, allocations: 0 / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3245, allocations: 0 / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.3248, allocations: 203.3 kB / 0.7872 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.3249, allocations: 81.09 kB / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.3249, allocations: 4 kB / 0.7872 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.941e-05/0.325, allocations: 7.984 kB / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.3251, allocations: 11.94 kB / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.3251, allocations: 0 / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.458e-05/0.3251, allocations: 87.58 kB / 0.7873 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3251, allocations: 4 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002399/0.3254, allocations: 4 kB / 0.7874 GB, free: 8.965 MB / 0.6075 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.000142/0.3255, allocations: 99.25 kB / 0.7875 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003374/0.3259, allocations: 71.92 kB / 0.7875 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3259, allocations: 4 kB / 0.7875 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.3261, allocations: 39.89 kB / 0.7876 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.3264, allocations: 8.172 kB / 0.7876 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.3268, allocations: 141.4 kB / 0.7877 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.3271, allocations: 0.6807 MB / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.698e-05/0.3271, allocations: 0 / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.3272, allocations: 11.44 kB / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3272, allocations: 0 / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of Templates: time 0.002862/0.33, allocations: 0.569 MB / 0.7889 GB, free: 7.289 MB / 0.6075 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)