Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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 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.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 100.2 kB / 16.26 MB, free: 6.418 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.001037/0.001037, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.451/1.451, 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 1.843/1.843, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.001406/0.001406, allocations: 63.91 kB / 0.6722 GB, free: 6.594 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2629, allocations: 114.6 MB / 0.784 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002363/0.2653, allocations: 0.7438 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002417/0.2655, allocations: 51.84 kB / 0.7848 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.2656, allocations: 3.938 kB / 0.7848 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.2658, allocations: 19.86 kB / 0.7848 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.376e-05/0.2658, allocations: 11.92 kB / 0.7849 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.266, allocations: 23.97 kB / 0.7849 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.2662, allocations: 127.6 kB / 0.785 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.2665, allocations: 152.5 kB / 0.7851 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.971e-05/0.2666, allocations: 63.8 kB / 0.7852 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.2667, allocations: 79.62 kB / 0.7853 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.2667, allocations: 12 kB / 0.7853 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.184e-05/0.2668, allocations: 20 kB / 0.7853 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.92e-05/0.2669, allocations: 55.78 kB / 0.7854 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.267, allocations: 83.42 kB / 0.7854 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.2672, allocations: 219.3 kB / 0.7857 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2672, allocations: 4 kB / 0.7857 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2672, allocations: 0 / 0.7857 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2673, allocations: 0 / 0.7857 GB, free: 2.258 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005683/0.2678, allocations: 495.3 kB / 0.7861 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.2679, allocations: 12.03 kB / 0.7861 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.069e-05/0.268, allocations: 32.59 kB / 0.7862 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.2683, allocations: 251.9 kB / 0.7864 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.2683, allocations: 12.75 kB / 0.7864 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.2683, allocations: 16.38 kB / 0.7864 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004694/0.2688, allocations: 340.9 kB / 0.7868 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.2688, allocations: 3.938 kB / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.2689, allocations: 15.98 kB / 0.7868 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.2689, allocations: 12 kB / 0.7868 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.2692, allocations: 267.8 kB / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5892/0.8584, allocations: 1.071 MB / 0.7881 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.163e-05/0.8585, allocations: 167.2 kB / 0.7883 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.737e-05/0.8586, allocations: 81.08 kB / 0.7883 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.8586, allocations: 81.47 kB / 0.7884 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.8586, allocations: 111.2 kB / 0.7885 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.305e-06/0.8586, allocations: 0 / 0.7885 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001354/0.8588, allocations: 55.61 kB / 0.7886 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.8588, allocations: 127.5 kB / 0.7887 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004795/0.8593, allocations: 0.491 MB / 0.7892 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.8593, allocations: 25.7 kB / 0.7892 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.8595, allocations: 172.4 kB / 0.7894 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-06/0.8595, allocations: 0.8438 kB / 0.7894 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.8595, allocations: 30.98 kB / 0.7894 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.027e-05/0.8596, allocations: 340.8 kB / 0.7897 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.62e-05/0.8597, allocations: 46.14 kB / 0.7898 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.8597, allocations: 93.2 kB / 0.7898 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.8599, allocations: 107.6 kB / 0.79 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.8599, allocations: 0 / 0.79 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002905/0.8602, allocations: 187.6 kB / 0.7901 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.8602, allocations: 13.25 kB / 0.7901 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.8602, allocations: 0 / 0.7901 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.8602, allocations: 2.781 kB / 0.7901 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.8604, allocations: 24.16 kB / 0.7902 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.8604, allocations: 5.906 kB / 0.7902 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.312e-05/0.8605, allocations: 44.28 kB / 0.7902 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.8605, allocations: 8.531 kB / 0.7902 GB, free: 46.53 MB / 0.6544 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.0001388/0.8607, allocations: 247.7 kB / 0.7905 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.8607, allocations: 127 kB / 0.7906 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.824e-05/0.8608, allocations: 137.7 kB / 0.7907 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.51e-05/0.8608, allocations: 180.5 kB / 0.7909 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.021e-05/0.8609, allocations: 177.4 kB / 0.7911 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.543e-05/0.8609, allocations: 191.5 kB / 0.7912 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.8612, allocations: 496.8 kB / 0.7917 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.327e-05/0.8612, allocations: 102.6 kB / 0.7918 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.951e-05/0.8612, allocations: 107.1 kB / 0.7919 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.17e-05/0.8613, allocations: 185.3 kB / 0.7921 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.8613, allocations: 183.2 kB / 0.7923 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.183e-05/0.8613, allocations: 178.8 kB / 0.7924 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-05/0.8614, allocations: 183.8 kB / 0.7926 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.8615, allocations: 328.9 kB / 0.7929 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.8616, allocations: 220 kB / 0.7931 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.8617, allocations: 179.6 kB / 0.7933 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.991e-05/0.8618, allocations: 108.9 kB / 0.7934 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.8618, allocations: 181.7 kB / 0.7936 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.8618, allocations: 105.7 kB / 0.7937 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003223/0.8622, allocations: 366.9 kB / 0.794 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8622, allocations: 0 / 0.794 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003085/0.8625, allocations: 25.25 kB / 0.7941 GB, free: 43.02 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 (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.0001465/0.8626, allocations: 179.2 kB / 0.7942 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001655/0.8628, allocations: 64.45 kB / 0.7943 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8628, allocations: 4 kB / 0.7943 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.8628, allocations: 0 / 0.7943 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005679/0.8634, allocations: 480.1 kB / 0.7947 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005514/0.864, allocations: 0.4979 MB / 0.7952 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.8642, allocations: 0.7729 MB / 0.796 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.426e-05/0.8643, allocations: 20.59 kB / 0.796 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of SimCode: time 4.61e-07/0.8643, allocations: 0 / 0.796 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.004189/0.8685, allocations: 2.637 MB / 0.7986 GB, free: 41.32 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1)