Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.375/2.375, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001284, allocations: 196.8 kB / 499.1 MB, free: 4.617 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.646/1.646, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 111.8 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 55.52 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2384, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.001783/0.2402, allocations: 0.7899 MB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0001759/0.2404, allocations: 59.83 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.2405, allocations: 3.938 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.2406, allocations: 11.92 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.244e-05/0.2406, allocations: 19.92 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.2408, allocations: 19.61 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.2409, allocations: 119.7 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.2411, allocations: 152.5 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.989e-05/0.2411, allocations: 55.73 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.2412, allocations: 67.69 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.2412, allocations: 8 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 2.08e-05/0.2413, allocations: 12 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.2413, allocations: 47.78 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.2414, allocations: 79.48 kB / 1.22 GB, free: 115.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.2415, allocations: 215.3 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2415, allocations: 0 / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.143e-06/0.2415, allocations: 0 / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.2416, allocations: 0 / 1.22 GB, free: 115.5 MB / 0.823 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.0003847/0.2419, allocations: 0.4933 MB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.242, allocations: 11.98 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.242, allocations: 24.66 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.2423, allocations: 249.2 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.2423, allocations: 12.75 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.2423, allocations: 20.38 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.2426, allocations: 352.8 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.2427, allocations: 3.938 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.2427, allocations: 11.98 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.2427, allocations: 12 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.2429, allocations: 263.8 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008374/0.2438, allocations: 1.088 MB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.987e-05/0.2438, allocations: 169.1 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.428e-05/0.2439, allocations: 84.14 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.2439, allocations: 75.28 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.2439, allocations: 113.8 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.2439, allocations: 3.938 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 7.634e-05/0.244, allocations: 57.48 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.244, allocations: 126.7 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.2444, allocations: 0.4887 MB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.27e-06/0.2444, allocations: 25.7 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/0.2445, allocations: 171.8 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-06/0.2445, allocations: 3.984 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.2445, allocations: 25.72 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.531e-05/0.2446, allocations: 342.8 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.927e-05/0.2447, allocations: 47.95 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-05/0.2447, allocations: 93.95 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.675e-05/0.2448, allocations: 113.9 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2448, allocations: 4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002088/0.245, allocations: 181.1 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2451, allocations: 8.938 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2451, allocations: 3.938 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2451, allocations: 4 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.2452, allocations: 27.92 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2452, allocations: 0 / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.849e-05/0.2453, allocations: 39.89 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.2453, allocations: 8 kB / 1.224 GB, free: 110.6 MB / 0.823 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 9.238e-05/0.2454, allocations: 245.7 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.2454, allocations: 132.6 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.868e-05/0.2455, allocations: 134.8 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/0.2455, allocations: 180.3 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.543e-05/0.2455, allocations: 188.2 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.382e-05/0.2456, allocations: 176.3 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.2457, allocations: 493 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.2458, allocations: 101 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.29e-05/0.2458, allocations: 105 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.567e-05/0.2458, allocations: 188.2 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.2458, allocations: 185 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.359e-05/0.2459, allocations: 184.1 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.36e-05/0.2459, allocations: 176.3 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.2461, allocations: 0.9228 MB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-05/0.2462, allocations: 218.1 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.2462, allocations: 180.2 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.2463, allocations: 121 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.2464, allocations: 184.2 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.2464, allocations: 104.9 kB / 1.228 GB, free: 106.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002401/0.2466, allocations: 363 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2466, allocations: 4 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003293/0.247, allocations: 24 kB / 1.229 GB, free: 105.8 MB / 0.823 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.0001032/0.2471, allocations: 170.5 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.95e-05/0.2472, allocations: 63.89 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2472, allocations: 448 / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.2472, allocations: 4 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.2476, allocations: 0.548 MB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.248, allocations: 0.5048 MB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.2482, allocations: 0.783 MB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 6.693e-05/0.2483, allocations: 45.53 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.2483, allocations: 15.44 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.2483, allocations: 3.938 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of Templates: time 0.00336/0.2517, allocations: 1.72 MB / 1.233 GB, free: 101.8 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1)