Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009736/0.0009736, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00876/0.008761, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.938/2.938, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003702, allocations: 13.84 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3761, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001118/0.3772, allocations: 478.4 kB / 1.075 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002682/0.3775, allocations: 55.83 kB / 1.075 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.394e-05/0.3776, allocations: 0 / 1.075 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.3778, allocations: 15.88 kB / 1.075 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.344e-05/0.3779, allocations: 7.984 kB / 1.075 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.3781, allocations: 23.97 kB / 1.075 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.3783, allocations: 119.6 kB / 1.075 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.3785, allocations: 152.3 kB / 1.075 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.071e-05/0.3786, allocations: 35.8 kB / 1.075 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.332e-05/0.3787, allocations: 43.66 kB / 1.075 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.3787, allocations: 8 kB / 1.075 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.961e-05/0.3787, allocations: 8 kB / 1.075 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.3788, allocations: 31.86 kB / 1.075 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.3789, allocations: 101.1 kB / 1.075 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.3792, allocations: 203.2 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3792, allocations: 0 / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3792, allocations: 0 / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.918e-06/0.3792, allocations: 0 / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006023/0.3798, allocations: 455.5 kB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3799, allocations: 12.03 kB / 1.076 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.208e-05/0.38, allocations: 32.55 kB / 1.076 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.3803, allocations: 256.3 kB / 1.076 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.3803, allocations: 12.75 kB / 1.076 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.3804, allocations: 20.36 kB / 1.076 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/0.3809, allocations: 333.2 kB / 1.076 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3809, allocations: 7.938 kB / 1.076 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.3809, allocations: 8 kB / 1.076 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/0.381, allocations: 16 kB / 1.076 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.3814, allocations: 265.1 kB / 1.077 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.3829, allocations: 1.072 MB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.3831, allocations: 177.1 kB / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/0.3831, allocations: 80.14 kB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.3832, allocations: 79.22 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.938e-05/0.3832, allocations: 117.8 kB / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.884e-06/0.3833, allocations: 0 / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001386/0.3834, allocations: 49.55 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.941e-05/0.3835, allocations: 134.7 kB / 1.078 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006506/0.3842, allocations: 0.4925 MB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.3842, allocations: 25.7 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.3844, allocations: 171.8 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.615e-06/0.3844, allocations: 3.984 kB / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.3844, allocations: 13.72 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.3846, allocations: 338.8 kB / 1.079 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.3847, allocations: 47.97 kB / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.3848, allocations: 93.91 kB / 1.08 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.385, allocations: 105.9 kB / 1.08 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.385, allocations: 0 / 1.08 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004143/0.3854, allocations: 193.1 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.3855, allocations: 4 kB / 1.08 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.3855, allocations: 3.938 kB / 1.08 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3855, allocations: 8.219 kB / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.3857, allocations: 19.98 kB / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.3857, allocations: 0 / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.3858, allocations: 39.69 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.3859, allocations: 11.98 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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 0.0002182/0.3861, allocations: 253 kB / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.3862, allocations: 120.7 kB / 1.08 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.13e-05/0.3863, allocations: 134.8 kB / 1.08 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.863e-05/0.3864, allocations: 188.2 kB / 1.081 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-05/0.3865, allocations: 180.3 kB / 1.081 GB, free: 448 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.005e-05/0.3866, allocations: 184.2 kB / 1.081 GB, free: 256 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.3869, allocations: 489.1 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.952e-05/0.387, allocations: 101 kB / 1.081 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.387, allocations: 112.9 kB / 1.082 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-05/0.3871, allocations: 176.3 kB / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/0.3871, allocations: 192.2 kB / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.833e-05/0.3872, allocations: 180.3 kB / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-05/0.3873, allocations: 184.5 kB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.3874, allocations: 331.5 kB / 1.083 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.3876, allocations: 233.6 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.769e-05/0.3877, allocations: 184.2 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3878, allocations: 105 kB / 1.083 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.3879, allocations: 184.1 kB / 1.083 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.3879, allocations: 109 kB / 1.083 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003855/0.3883, allocations: 363 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3883, allocations: 0 / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002739/0.3886, allocations: 24 kB / 1.084 GB, free: 13.17 MB / 0.8419 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 (0): * Single equations (assignments): 0 * 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.0001796/0.3888, allocations: 178.5 kB / 1.084 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.3889, allocations: 68.2 kB / 1.084 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3889, allocations: 4.062 kB / 1.084 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.3889, allocations: 0 / 1.084 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.3897, allocations: 0.5452 MB / 1.085 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008258/0.3905, allocations: 0.5047 MB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.391, allocations: 0.7713 MB / 1.086 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001173/0.3911, allocations: 49.52 kB / 1.086 GB, free: 11 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.3912, allocations: 15.44 kB / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of SimCode: time 6.41e-07/0.3912, allocations: 0 / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.005188/0.3964, allocations: 1.629 MB / 1.087 GB, free: 9.359 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1)