Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008835/0.0008836, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009015/0.0009014, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.4 MB / 222.1 MB, free: 5.555 MB / 174.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.581/1.581, allocations: 292.5 MB / 0.5497 GB, free: 14.66 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.0005032/0.0005032, allocations: 20.66 kB / 0.6736 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2259, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.0009857/0.227, allocations: 498.4 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.2281, allocations: 0.8166 MB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.618e-05/0.2281, allocations: 0 / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.2283, allocations: 47.88 kB / 0.7884 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/0.2284, allocations: 47.86 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.641e-05/0.2285, allocations: 11.98 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.2286, allocations: 51.92 kB / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2287, allocations: 12 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.773e-05/0.2288, allocations: 47.81 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.2289, allocations: 67.8 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.229, allocations: 4 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.229, allocations: 4 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.229, allocations: 27.91 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.2291, allocations: 33.7 kB / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.2292, allocations: 83.83 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.2292, allocations: 3.938 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2292, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2292, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.6075 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.0007333/0.23, allocations: 475 kB / 0.7893 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.23, allocations: 8.031 kB / 0.7893 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.2301, allocations: 11.91 kB / 0.7893 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.2303, allocations: 206.1 kB / 0.7895 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.2303, allocations: 4 kB / 0.7895 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.2303, allocations: 8 kB / 0.7895 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/0.2307, allocations: 163.3 kB / 0.7897 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2307, allocations: 3.938 kB / 0.7897 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.2308, allocations: 8 kB / 0.7897 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2308, allocations: 0 / 0.7897 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005327/0.2313, allocations: 199.8 kB / 0.7899 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008089/0.2321, allocations: 0.5164 MB / 0.7904 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.2325, allocations: 185.1 kB / 0.7905 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.2326, allocations: 3.938 kB / 0.7905 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.2326, allocations: 34.5 kB / 0.7906 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.2326, allocations: 0 / 0.7906 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0009237/0.2335, allocations: 333.5 kB / 0.7909 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.2336, allocations: 85.05 kB / 0.791 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.2337, allocations: 154.2 kB / 0.7911 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.2338, allocations: 33.7 kB / 0.7912 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.2338, allocations: 108 kB / 0.7913 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.2339, allocations: 23.66 kB / 0.7913 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.2339, allocations: 0 / 0.7913 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.234, allocations: 330.8 kB / 0.7916 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.2343, allocations: 87.92 kB / 0.7917 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.2345, allocations: 113.6 kB / 0.7918 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.2348, allocations: 95.92 kB / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2348, allocations: 0 / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005481/0.2354, allocations: 245.3 kB / 0.7921 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2354, allocations: 4 kB / 0.7921 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.2354, allocations: 4 kB / 0.7921 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2354, allocations: 7.984 kB / 0.7921 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.2356, allocations: 35.97 kB / 0.7922 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2357, allocations: 4 kB / 0.7922 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.2358, allocations: 39.89 kB / 0.7922 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.2358, allocations: 7.953 kB / 0.7922 GB, free: 6.484 MB / 0.6075 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.0001059/0.2359, allocations: 129.8 kB / 0.7923 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.236, allocations: 7.906 kB / 0.7923 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.009e-05/0.2361, allocations: 24.72 kB / 0.7924 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.2361, allocations: 4 kB / 0.7924 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2361, allocations: 0 / 0.7924 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2361, allocations: 3.984 kB / 0.7924 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.2364, allocations: 233.4 kB / 0.7926 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2364, allocations: 0 / 0.7926 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.2366, allocations: 39.97 kB / 0.7926 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.2366, allocations: 7.984 kB / 0.7926 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.2366, allocations: 0 / 0.7926 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2366, allocations: 4 kB / 0.7927 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.2366, allocations: 0 / 0.7927 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/0.2373, allocations: 429.3 kB / 0.7931 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.2373, allocations: 85.02 kB / 0.7931 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.2374, allocations: 0 / 0.7931 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.2376, allocations: 35.95 kB / 0.7932 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.2376, allocations: 11.98 kB / 0.7932 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.2377, allocations: 0 / 0.7932 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.91e-05/0.2378, allocations: 125 kB / 0.7933 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2378, allocations: 0 / 0.7933 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002755/0.2381, allocations: 27.86 kB / 0.7933 GB, free: 5.238 MB / 0.6075 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.0001564/0.2382, allocations: 103.2 kB / 0.7934 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005539/0.2388, allocations: 199.8 kB / 0.7936 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2388, allocations: 0 / 0.7936 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.2391, allocations: 111.9 kB / 0.7937 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.2393, allocations: 23.86 kB / 0.7938 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.2398, allocations: 266.4 kB / 0.794 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.2401, allocations: 0.716 MB / 0.7947 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.657e-05/0.2402, allocations: 27.97 kB / 0.7947 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.2402, allocations: 15.44 kB / 0.7947 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2402, allocations: 0 / 0.7947 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of Templates: time 0.00308/0.2433, allocations: 0.9482 MB / 0.7957 GB, free: 2.785 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) Environment - environmentSimulation: