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.001192/0.001192, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001382/0.001382, allocations: 195.2 kB / 16.14 MB, free: 6.688 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.478/1.478, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.965/2.965, allocations: 472.6 MB / 0.7447 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 64.09 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3619, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002759/0.3647, allocations: 0.7945 MB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002522/0.365, allocations: 55.83 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.365, allocations: 3.938 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.3652, allocations: 11.92 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.633e-05/0.3653, allocations: 11.92 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.3654, allocations: 27.23 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.3656, allocations: 115.6 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.3659, allocations: 167.2 kB / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.014e-05/0.366, allocations: 51.8 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.709e-05/0.3661, allocations: 67.64 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.69e-05/0.3661, allocations: 12 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.61e-05/0.3661, allocations: 12 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.627e-05/0.3662, allocations: 43.84 kB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.19e-05/0.3663, allocations: 83.41 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.3665, allocations: 211.3 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3665, allocations: 4 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3666, allocations: 0 / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3666, allocations: 0 / 1.069 GB, free: 9.156 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.0006279/0.3672, allocations: 0.4992 MB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3672, allocations: 8.031 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.3673, allocations: 24.66 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.3676, allocations: 256.4 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3676, allocations: 16.73 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.3676, allocations: 20.38 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.3681, allocations: 341.1 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3682, allocations: 3.938 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.3682, allocations: 4 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/0.3682, allocations: 15.98 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.3686, allocations: 259.8 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.3699, allocations: 1.084 MB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.76e-05/0.37, allocations: 173.1 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.321e-05/0.37, allocations: 84.14 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.37, allocations: 75.28 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.206e-05/0.3701, allocations: 109.8 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.273e-06/0.3701, allocations: 0 / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001001/0.3702, allocations: 65.38 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.3703, allocations: 126.7 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005286/0.3708, allocations: 0.4887 MB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.3708, allocations: 25.7 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.371, allocations: 171.8 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-06/0.371, allocations: 0 / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.3711, allocations: 33.7 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3712, allocations: 342.8 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.536e-05/0.3713, allocations: 47.95 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.513e-05/0.3714, allocations: 89.97 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.3715, allocations: 113.8 kB / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3715, allocations: 0 / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002744/0.3718, allocations: 181.2 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3718, allocations: 9.875 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.3718, allocations: 3.938 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3719, allocations: 4 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.372, allocations: 23.92 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.372, allocations: 0 / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.763e-05/0.3721, allocations: 47.58 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.3721, allocations: 4 kB / 1.074 GB, free: 4.156 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.00018/0.3723, allocations: 249.3 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.964e-05/0.3724, allocations: 128.6 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.769e-05/0.3725, allocations: 138.8 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.785e-05/0.3725, allocations: 180.2 kB / 1.074 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.118e-05/0.3726, allocations: 184.3 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.913e-05/0.3727, allocations: 184.2 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.373, allocations: 493 kB / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.422e-05/0.3731, allocations: 101 kB / 1.075 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.567e-05/0.3731, allocations: 104.9 kB / 1.075 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.076e-05/0.3732, allocations: 184.3 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.71e-05/0.3733, allocations: 188.2 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.86e-05/0.3733, allocations: 184.2 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.499e-05/0.3734, allocations: 176.5 kB / 1.076 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.3736, allocations: 335.5 kB / 1.076 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.3737, allocations: 205.8 kB / 1.077 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.3738, allocations: 204.1 kB / 1.077 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.3739, allocations: 105 kB / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.063e-05/0.374, allocations: 180.2 kB / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.3741, allocations: 101 kB / 1.077 GB, free: 396 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003659/0.3745, allocations: 367 kB / 1.078 GB, free: 32 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3745, allocations: 0 / 1.078 GB, free: 32 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002791/0.3747, allocations: 24 kB / 1.078 GB, free: 8 kB / 0.8262 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.0002412/0.375, allocations: 178.5 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000146/0.3751, allocations: 63.89 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3752, allocations: 4 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.349e-06/0.3752, allocations: 3.938 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/0.3758, allocations: 0.5473 MB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006193/0.3764, allocations: 0.5009 MB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.3768, allocations: 0.7752 MB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.858e-05/0.3769, allocations: 49.52 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.3769, allocations: 15.44 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3769, allocations: 0 / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of Templates: time 0.004754/0.3817, allocations: 1.67 MB / 1.081 GB, free: 12.15 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)