Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 190 kB / 16.64 MB, free: 6.594 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.602/1.602, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.835/1.835, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.002298/0.002298, allocations: 67.52 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3208, allocations: 114.6 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.002799/0.3236, allocations: 0.6632 MB / 0.7848 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.3251, allocations: 0.8126 MB / 0.7856 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.683e-05/0.3252, allocations: 0 / 0.7856 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.3253, allocations: 0 / 0.7856 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.189e-05/0.3254, allocations: 7.938 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.3256, allocations: 7.984 kB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.196e-05/0.3257, allocations: 19.92 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.3258, allocations: 8 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.273e-05/0.3259, allocations: 4 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.086e-05/0.326, allocations: 19.92 kB / 0.7857 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.3261, allocations: 3.938 kB / 0.7857 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.3261, allocations: 4 kB / 0.7857 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.3261, allocations: 7.984 kB / 0.7857 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.3261, allocations: 7.922 kB / 0.7857 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.3263, allocations: 23.91 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3263, allocations: 4 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3263, allocations: 0 / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.3263, allocations: 0 / 0.7857 GB, free: 11.16 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005275/0.3268, allocations: 343.4 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3269, allocations: 8.031 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.3269, allocations: 4.938 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.3271, allocations: 164.3 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.3271, allocations: 384 / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.3271, allocations: 4.375 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.3273, allocations: 46.23 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.3273, allocations: 192 / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.3273, allocations: 7.938 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3274, allocations: 4 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.3275, allocations: 31.95 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.3279, allocations: 244.9 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.3281, allocations: 46.42 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.74e-05/0.3282, allocations: 28.91 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.3283, allocations: 3.984 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.3283, allocations: 30.56 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3283, allocations: 0 / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004029/0.3287, allocations: 77.64 kB / 0.7867 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.749e-05/0.3288, allocations: 59.47 kB / 0.7868 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.4e-05/0.3289, allocations: 97.86 kB / 0.7869 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.3289, allocations: 33.69 kB / 0.7869 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.329, allocations: 84.14 kB / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.329, allocations: 3.906 kB / 0.787 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.3291, allocations: 13.72 kB / 0.787 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3292, allocations: 314.8 kB / 0.7873 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.289e-05/0.3293, allocations: 19.98 kB / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.082e-05/0.3294, allocations: 19.97 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.3295, allocations: 36.83 kB / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3295, allocations: 0 / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000213/0.3297, allocations: 73.59 kB / 0.7874 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3298, allocations: 8.031 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3298, allocations: 0 / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3298, allocations: 4 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3299, allocations: 7.984 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.3299, allocations: 3.938 kB / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.33, allocations: 4 kB / 0.7875 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.33, allocations: 4 kB / 0.7875 GB, free: 9.137 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 (2): * Single equations (assignments): 2 * 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.9e-05/0.3301, allocations: 118.4 kB / 0.7876 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.3302, allocations: 4 kB / 0.7876 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.3304, allocations: 68.78 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3304, allocations: 4 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3304, allocations: 0 / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3304, allocations: 0 / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.3306, allocations: 161.6 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3306, allocations: 3.938 kB / 0.7878 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.314e-05/0.3307, allocations: 11.98 kB / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3307, allocations: 4.031 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3307, allocations: 0 / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3307, allocations: 0 / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3307, allocations: 0 / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.331, allocations: 167.4 kB / 0.788 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.331, allocations: 85.03 kB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.331, allocations: 4.031 kB / 0.7881 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.228e-05/0.3311, allocations: 4 kB / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.3312, allocations: 7.984 kB / 0.7881 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.3312, allocations: 0 / 0.7881 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.329e-05/0.3312, allocations: 83.28 kB / 0.7882 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3312, allocations: 0 / 0.7882 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002248/0.3315, allocations: 4 kB / 0.7882 GB, free: 8.316 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 (2): * Single equations (assignments): 2 * 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.0001495/0.3316, allocations: 103.2 kB / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.3318, allocations: 39.89 kB / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3319, allocations: 0 / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.81e-05/0.3319, allocations: 19.98 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.3323, allocations: 7.938 kB / 0.7883 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.3327, allocations: 109.6 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.333, allocations: 0.6768 MB / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.566e-05/0.3331, allocations: 0 / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.3331, allocations: 7.438 kB / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.3331, allocations: 3.938 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of Templates: time 0.002826/0.3359, allocations: 451.8 kB / 0.7895 GB, free: 6.859 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)