Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001354/0.001354, allocations: 184 kB / 17.22 MB, free: 5.934 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.72/1.72, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.034/2.034, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001606/0.001607, allocations: 67.91 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3294, allocations: 114.6 MB / 0.7841 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.00232/0.3317, allocations: 0.6947 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3328, allocations: 0.8048 MB / 0.7856 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.325e-05/0.3328, allocations: 0 / 0.7856 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.3329, allocations: 3.938 kB / 0.7856 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.233e-05/0.333, allocations: 15.92 kB / 0.7856 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.3331, allocations: 7.984 kB / 0.7856 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.168e-05/0.3332, allocations: 43.86 kB / 0.7856 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.3334, allocations: 23.97 kB / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.249e-05/0.3335, allocations: 15.92 kB / 0.7857 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.652e-05/0.3335, allocations: 15.92 kB / 0.7857 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.3336, allocations: 4 kB / 0.7857 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.638e-05/0.3336, allocations: 4 kB / 0.7857 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.3336, allocations: 11.98 kB / 0.7857 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.3336, allocations: 19.88 kB / 0.7857 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.3338, allocations: 39.86 kB / 0.7858 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3338, allocations: 4 kB / 0.7858 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3338, allocations: 0 / 0.7858 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.3338, allocations: 0 / 0.7858 GB, free: 2.137 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.000561/0.3344, allocations: 359.7 kB / 0.7861 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.3344, allocations: 8.031 kB / 0.7861 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.3345, allocations: 4.844 kB / 0.7861 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.3346, allocations: 180.3 kB / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3347, allocations: 384 / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.3347, allocations: 4.375 kB / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.335, allocations: 70.2 kB / 0.7864 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.335, allocations: 4.172 kB / 0.7864 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.335, allocations: 3.938 kB / 0.7864 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.335, allocations: 7.938 kB / 0.7864 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.3353, allocations: 59.94 kB / 0.7864 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.3357, allocations: 272.8 kB / 0.7867 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.3359, allocations: 58.41 kB / 0.7867 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.3361, allocations: 40.92 kB / 0.7868 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.304e-05/0.3362, allocations: 3.984 kB / 0.7868 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.453e-05/0.3362, allocations: 34.56 kB / 0.7868 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3362, allocations: 0 / 0.7868 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005362/0.3368, allocations: 133.5 kB / 0.7869 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.3368, allocations: 51.41 kB / 0.787 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3369, allocations: 105.8 kB / 0.7871 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.337, allocations: 25.7 kB / 0.7871 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.337, allocations: 96.03 kB / 0.7872 GB, free: 452 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.3371, allocations: 3.906 kB / 0.7872 GB, free: 448 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.3371, allocations: 17.72 kB / 0.7872 GB, free: 424 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3373, allocations: 314.8 kB / 0.7875 GB, free: 100 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.3374, allocations: 35.95 kB / 0.7876 GB, free: 64 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.3376, allocations: 31.97 kB / 0.7876 GB, free: 32 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5848/0.9224, allocations: 64.67 kB / 0.7877 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.9224, allocations: 4.344 kB / 0.7877 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003144/0.9228, allocations: 104.1 kB / 0.7878 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.9228, allocations: 3.312 kB / 0.7878 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.9228, allocations: 0 / 0.7878 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.9228, allocations: 0 / 0.7878 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.923, allocations: 18.28 kB / 0.7878 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.923, allocations: 3.141 kB / 0.7878 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.079e-05/0.9231, allocations: 11.77 kB / 0.7878 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.9231, allocations: 6.375 kB / 0.7878 GB, free: 48.46 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 6.487e-05/0.9232, allocations: 112 kB / 0.7879 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.9232, allocations: 5.125 kB / 0.7879 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.9235, allocations: 108.2 kB / 0.788 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.9235, allocations: 2.844 kB / 0.788 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.9235, allocations: 0 / 0.788 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.9235, allocations: 2.172 kB / 0.788 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.9237, allocations: 176.7 kB / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.9237, allocations: 0 / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.012e-05/0.9238, allocations: 20.19 kB / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.9238, allocations: 0 / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.9238, allocations: 2.25 kB / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.9238, allocations: 0 / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9238, allocations: 0.5938 kB / 0.7882 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.9241, allocations: 202.7 kB / 0.7884 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.9241, allocations: 79.73 kB / 0.7885 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.9241, allocations: 2.062 kB / 0.7885 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.609e-05/0.9242, allocations: 16.48 kB / 0.7885 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.9243, allocations: 7.422 kB / 0.7885 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.9243, allocations: 0 / 0.7885 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.301e-05/0.9243, allocations: 90.34 kB / 0.7886 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.9244, allocations: 0 / 0.7886 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002136/0.9246, allocations: 9.5 kB / 0.7886 GB, free: 47.82 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.0001237/0.9247, allocations: 103.2 kB / 0.7887 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.925, allocations: 71.75 kB / 0.7888 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.925, allocations: 1.406 kB / 0.7888 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.9251, allocations: 39.08 kB / 0.7888 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.9255, allocations: 6.062 kB / 0.7888 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.9258, allocations: 120.4 kB / 0.7889 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.9259, allocations: 0.681 MB / 0.7896 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.536e-05/0.9259, allocations: 0.75 kB / 0.7896 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.926, allocations: 13.84 kB / 0.7896 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.926, allocations: 0.5312 kB / 0.7896 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of Templates: time 0.002587/0.9286, allocations: 0.678 MB / 0.7903 GB, free: 46.93 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)