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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 292.3 MB / 308.1 MB, free: 4.324 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.001687/0.001687, allocations: 181.5 kB / 376.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001304/0.001304, allocations: 102.2 kB / 0.748 GB, free: 61.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3252, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.00291/0.3282, allocations: 0.8218 MB / 0.983 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3295, allocations: 0.8282 MB / 0.9839 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.487e-05/0.3296, allocations: 0 / 0.9839 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.3298, allocations: 55.84 kB / 0.9839 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.81e-05/0.33, allocations: 27.84 kB / 0.9839 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 9.517e-05/0.3301, allocations: 15.98 kB / 0.9839 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.3302, allocations: 95.73 kB / 0.984 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.3304, allocations: 12 kB / 0.9841 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.3305, allocations: 43.83 kB / 0.9841 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.3307, allocations: 83.72 kB / 0.9842 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.3308, allocations: 8 kB / 0.9842 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.91e-05/0.3308, allocations: 4 kB / 0.9842 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.571e-05/0.3309, allocations: 35.89 kB / 0.9842 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.12e-05/0.331, allocations: 43.73 kB / 0.9843 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.3311, allocations: 103.6 kB / 0.9844 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3311, allocations: 0 / 0.9844 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.437e-06/0.3311, allocations: 0 / 0.9844 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3312, allocations: 7.938 kB / 0.9844 GB, free: 8.18 MB / 0.7136 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.0009854/0.3321, allocations: 467.1 kB / 0.9848 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.3322, allocations: 12.03 kB / 0.9848 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.3323, allocations: 8.844 kB / 0.9848 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.3325, allocations: 200.1 kB / 0.985 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.3325, allocations: 384 / 0.985 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.3326, allocations: 4.375 kB / 0.985 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.333, allocations: 155.8 kB / 0.9852 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.333, allocations: 4.188 kB / 0.9852 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.3331, allocations: 3.938 kB / 0.9852 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3331, allocations: 4 kB / 0.9852 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005521/0.3336, allocations: 175.8 kB / 0.9854 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009562/0.3346, allocations: 0.5047 MB / 0.9858 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.3351, allocations: 165.1 kB / 0.986 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.3354, allocations: 97.67 kB / 0.9861 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.3354, allocations: 4 kB / 0.9861 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.3354, allocations: 34.56 kB / 0.9861 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.3355, allocations: 0 / 0.9861 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0009689/0.3364, allocations: 289.2 kB / 0.9864 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.3365, allocations: 77.11 kB / 0.9865 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.3367, allocations: 162.8 kB / 0.9866 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.3367, allocations: 25.7 kB / 0.9867 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.3368, allocations: 108.1 kB / 0.9868 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.3368, allocations: 27.61 kB / 0.9868 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.527e-05/0.3369, allocations: 21.72 kB / 0.9868 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3371, allocations: 330.8 kB / 0.9871 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.3373, allocations: 75.92 kB / 0.9872 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.3376, allocations: 89.64 kB / 0.9873 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.3381, allocations: 177.9 kB / 0.9875 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3381, allocations: 4 kB / 0.9875 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005725/0.3387, allocations: 205.4 kB / 0.9877 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.3387, allocations: 4 kB / 0.9877 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3388, allocations: 3.938 kB / 0.9877 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3388, allocations: 0 / 0.9877 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.339, allocations: 35.95 kB / 0.9877 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.339, allocations: 0 / 0.9877 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.3392, allocations: 31.91 kB / 0.9877 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3392, allocations: 160 / 0.9877 GB, free: 4.469 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.3393, allocations: 133.8 kB / 0.9879 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.3394, allocations: 11.81 kB / 0.9879 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.551e-05/0.3394, allocations: 20.23 kB / 0.9879 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3395, allocations: 4 kB / 0.9879 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3395, allocations: 0 / 0.9879 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.96e-05/0.3395, allocations: 0 / 0.9879 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.3398, allocations: 233.5 kB / 0.9881 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3398, allocations: 4 kB / 0.9881 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.34, allocations: 35.89 kB / 0.9882 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.34, allocations: 7.938 kB / 0.9882 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.3401, allocations: 0 / 0.9882 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3401, allocations: 0 / 0.9882 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3401, allocations: 3.984 kB / 0.9882 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.3413, allocations: 1.031 MB / 0.9892 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.3413, allocations: 96.91 kB / 0.9893 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.3414, allocations: 0 / 0.9893 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.3416, allocations: 23.97 kB / 0.9893 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-05/0.3417, allocations: 19.86 kB / 0.9893 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.3417, allocations: 4 kB / 0.9893 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.978e-05/0.3418, allocations: 127.4 kB / 0.9894 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3418, allocations: 0 / 0.9894 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003563/0.3421, allocations: 16 kB / 0.9894 GB, free: 2.574 MB / 0.7136 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 (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.0001881/0.3423, allocations: 109.6 kB / 0.9896 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000581/0.3429, allocations: 171.8 kB / 0.9897 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3429, allocations: 0 / 0.9897 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002775/0.3432, allocations: 91.86 kB / 0.9898 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.3436, allocations: 19.98 kB / 0.9898 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000747/0.3444, allocations: 407.8 kB / 0.9902 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.3448, allocations: 0.7164 MB / 0.9909 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.751e-05/0.3449, allocations: 31.97 kB / 0.9909 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.345, allocations: 11.44 kB / 0.991 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/0.345, allocations: 0 / 0.991 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of Templates: time 0.003763/0.3487, allocations: 1.033 MB / 0.992 GB, free: 15.94 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (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)