Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.064/3.064, allocations: 287.3 MB / 302.3 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001553, allocations: 186.9 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.341/2.341, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 108 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001198, allocations: 16.02 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2237, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001015/0.2248, allocations: 478.8 kB / 0.9787 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.2259, allocations: 0.8243 MB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.636e-05/0.2259, allocations: 3.938 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.2262, allocations: 55.84 kB / 0.9795 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.229e-05/0.2262, allocations: 31.94 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.554e-05/0.2263, allocations: 15.98 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.2265, allocations: 55.86 kB / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.2266, allocations: 19.98 kB / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.249e-05/0.2267, allocations: 31.91 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.2268, allocations: 67.78 kB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.2269, allocations: 4 kB / 0.9798 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.116e-05/0.2269, allocations: 4 kB / 0.9798 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.227, allocations: 27.91 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.227, allocations: 45.64 kB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.2272, allocations: 83.81 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2272, allocations: 0 / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.205e-06/0.2272, allocations: 0 / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.2272, allocations: 0 / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009754/0.2282, allocations: 471 kB / 0.9804 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.2282, allocations: 8.031 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.2283, allocations: 7.906 kB / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.2285, allocations: 200.2 kB / 0.9806 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2286, allocations: 8 kB / 0.9806 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.2286, allocations: 7.938 kB / 0.9806 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.2292, allocations: 163.3 kB / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.2292, allocations: 4 kB / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.2293, allocations: 7.984 kB / 0.9807 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2293, allocations: 0 / 0.9807 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009246/0.2302, allocations: 199.8 kB / 0.9809 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.2314, allocations: 0.5203 MB / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00062/0.232, allocations: 185.1 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.2321, allocations: 0 / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.2321, allocations: 38.64 kB / 0.9817 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.126e-06/0.2321, allocations: 3.938 kB / 0.9817 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.00149/0.2336, allocations: 333.2 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.2337, allocations: 81.11 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.2339, allocations: 170.1 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.2339, allocations: 29.7 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.234, allocations: 100 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.234, allocations: 27.64 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.2341, allocations: 0 / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.8e-05/0.2341, allocations: 326.8 kB / 0.9827 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.2346, allocations: 91.92 kB / 0.9828 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/0.235, allocations: 105.6 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004395/0.2355, allocations: 99.86 kB / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2355, allocations: 4 kB / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000975/0.2365, allocations: 237.3 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.2365, allocations: 4 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.2366, allocations: 4 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/0.2366, allocations: 4 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.237, allocations: 43.89 kB / 0.9832 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.237, allocations: 0 / 0.9832 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.2373, allocations: 47.86 kB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.2373, allocations: 0 / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 0.0001316/0.2374, allocations: 125.8 kB / 0.9834 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/0.2375, allocations: 11.91 kB / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/0.2376, allocations: 20.23 kB / 0.9834 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.2376, allocations: 4.469 kB / 0.9834 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2376, allocations: 0 / 0.9834 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2376, allocations: 0 / 0.9834 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.238, allocations: 233.4 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.238, allocations: 4 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.2384, allocations: 43.95 kB / 0.9837 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.2384, allocations: 0 / 0.9837 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.2384, allocations: 7.984 kB / 0.9837 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.2384, allocations: 0 / 0.9837 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2384, allocations: 3.938 kB / 0.9837 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.2395, allocations: 424.2 kB / 0.9841 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.2395, allocations: 85.02 kB / 0.9842 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.2396, allocations: 8 kB / 0.9842 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/0.2399, allocations: 35.89 kB / 0.9843 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.448e-05/0.24, allocations: 7.984 kB / 0.9843 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.2401, allocations: 11.95 kB / 0.9843 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001095/0.2402, allocations: 115.2 kB / 0.9844 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2402, allocations: 0 / 0.9844 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003672/0.2406, allocations: 31.84 kB / 0.9844 GB, free: 21.64 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0001508/0.2407, allocations: 99.19 kB / 0.9845 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009569/0.2417, allocations: 203.8 kB / 0.9847 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.73e-05/0.2417, allocations: 0 / 0.9847 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004736/0.2422, allocations: 107.9 kB / 0.9848 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.2426, allocations: 15.94 kB / 0.9848 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000659/0.2433, allocations: 266.4 kB / 0.9851 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.2435, allocations: 0.716 MB / 0.9858 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000136/0.2436, allocations: 27.97 kB / 0.9858 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.2437, allocations: 11.44 kB / 0.9858 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of SimCode: time 1.122e-06/0.2437, allocations: 0 / 0.9858 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.004419/0.2481, allocations: 0.9421 MB / 0.9867 GB, free: 19.21 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)