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.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.295/1.295, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 176.7 kB / 327.6 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.4 MB / 0.5785 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007587/0.000759, allocations: 92.81 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004542/0.0004542, allocations: 16.16 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2155, allocations: 106.3 MB / 0.9013 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.3794, allocations: 131.4 MB / 1.03 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.3797, allocations: 71.95 kB / 1.03 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002245/0.382, allocations: 0.8331 MB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.87e-06/0.382, allocations: 0 / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.382, allocations: 7.938 kB / 1.03 GB, free: 11.22 MB / 0.6823 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.0004555/0.3825, allocations: 368.4 kB / 1.031 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3826, allocations: 12.03 kB / 1.031 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.3826, allocations: 8.844 kB / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.3827, allocations: 176.2 kB / 1.031 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3828, allocations: 4.375 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.3828, allocations: 4.375 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.383, allocations: 74.22 kB / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.383, allocations: 192 / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.3831, allocations: 7.938 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3831, allocations: 4 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/0.3834, allocations: 83.92 kB / 1.031 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.3839, allocations: 304.8 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.3841, allocations: 70.47 kB / 1.032 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.3843, allocations: 56.91 kB / 1.032 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.3843, allocations: 0 / 1.032 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.3843, allocations: 30.56 kB / 1.032 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.3843, allocations: 0 / 1.032 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005124/0.3849, allocations: 165.5 kB / 1.032 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.3849, allocations: 51.41 kB / 1.032 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.686e-05/0.385, allocations: 105.8 kB / 1.032 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.385, allocations: 25.7 kB / 1.032 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.3851, allocations: 96.03 kB / 1.032 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.3851, allocations: 11.89 kB / 1.032 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.3851, allocations: 0 / 1.032 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3853, allocations: 310.8 kB / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.3854, allocations: 47.95 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.3855, allocations: 43.97 kB / 1.032 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.3858, allocations: 92.72 kB / 1.033 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3858, allocations: 3.938 kB / 1.033 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000295/0.3861, allocations: 117.6 kB / 1.033 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3861, allocations: 8 kB / 1.033 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3861, allocations: 0 / 1.033 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3862, allocations: 0 / 1.033 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.3863, allocations: 23.97 kB / 1.033 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3863, allocations: 4 kB / 1.033 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.283e-05/0.3864, allocations: 31.77 kB / 1.033 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.3864, allocations: 0 / 1.033 GB, free: 8.703 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.667e-05/0.3865, allocations: 109.8 kB / 1.033 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.3865, allocations: 4.328 kB / 1.033 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.3866, allocations: 7.906 kB / 1.033 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3866, allocations: 7.984 kB / 1.033 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3866, allocations: 0 / 1.033 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3866, allocations: 7.984 kB / 1.033 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.3868, allocations: 165.6 kB / 1.033 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3868, allocations: 4 kB / 1.033 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.553e-05/0.3869, allocations: 19.92 kB / 1.033 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3869, allocations: 4 kB / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.3869, allocations: 0 / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3869, allocations: 320 / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3869, allocations: 4 kB / 1.033 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.3873, allocations: 223.3 kB / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.3873, allocations: 77.11 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.3874, allocations: 4 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3875, allocations: 19.92 kB / 1.033 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.3875, allocations: 7.984 kB / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3875, allocations: 4 kB / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.809e-05/0.3876, allocations: 95.25 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3876, allocations: 0 / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001953/0.3878, allocations: 4 kB / 1.033 GB, free: 7.848 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001464/0.3879, allocations: 103.2 kB / 1.034 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003078/0.3883, allocations: 87.92 kB / 1.034 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3883, allocations: 4 kB / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.3884, allocations: 47.97 kB / 1.034 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.3887, allocations: 15.39 kB / 1.034 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.389, allocations: 144.4 kB / 1.034 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.3893, allocations: 0.6809 MB / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.508e-05/0.3893, allocations: 0 / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.3894, allocations: 15.38 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of SimCode: time 3.4e-07/0.3894, allocations: 0 / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of Templates: time 0.002403/0.3918, allocations: 0.5265 MB / 1.035 GB, free: 6.184 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)