Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001376/0.001376, allocations: 198 kB / 16.14 MB, free: 6.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.137/3.137, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 65.19 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3622, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002/0.3643, allocations: 0.8294 MB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008798/0.3652, allocations: 0.8312 MB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.935e-05/0.3652, allocations: 4 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.3654, allocations: 51.86 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.3655, allocations: 35.83 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.883e-05/0.3656, allocations: 19.98 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.3657, allocations: 79.75 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.3658, allocations: 27.98 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.631e-05/0.3659, allocations: 31.91 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.366, allocations: 83.77 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.366, allocations: 4 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.801e-05/0.3661, allocations: 4 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.3661, allocations: 27.91 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.467e-05/0.3662, allocations: 47.67 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.3663, allocations: 107.6 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3663, allocations: 8 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.51e-07/0.3663, allocations: 0 / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3663, allocations: 0 / 1.07 GB, free: 8.664 MB / 0.8262 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.0007777/0.3671, allocations: 463.2 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.3672, allocations: 8.031 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.3672, allocations: 16.75 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.3674, allocations: 212.6 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3674, allocations: 4.375 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.3675, allocations: 8.375 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.3679, allocations: 143.9 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3679, allocations: 192 / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.3679, allocations: 11.88 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3679, allocations: 8 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005174/0.3685, allocations: 163.8 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009034/0.3694, allocations: 0.5047 MB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.3698, allocations: 165.1 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.3701, allocations: 93.73 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.3701, allocations: 0 / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3701, allocations: 38.48 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.3701, allocations: 0 / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0009167/0.3711, allocations: 281.6 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.3711, allocations: 81.11 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.3713, allocations: 168.6 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.3713, allocations: 25.7 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.3714, allocations: 104 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.3714, allocations: 23.64 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.3715, allocations: 25.72 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3717, allocations: 326.8 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.3719, allocations: 79.92 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.3722, allocations: 85.64 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.3726, allocations: 185.5 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3727, allocations: 0 / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005297/0.3732, allocations: 205.3 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3732, allocations: 4 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3732, allocations: 4 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3732, allocations: 4 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.3735, allocations: 39.89 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3735, allocations: 0 / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.3736, allocations: 31.89 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.3736, allocations: 4 kB / 1.073 GB, free: 4.945 MB / 0.8262 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 9.838e-05/0.3737, allocations: 121.8 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.3738, allocations: 15.91 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.3738, allocations: 24.23 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3739, allocations: 0 / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3739, allocations: 0 / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3739, allocations: 4 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.3742, allocations: 229.4 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3742, allocations: 0 / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.3744, allocations: 35.95 kB / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3744, allocations: 0 / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3744, allocations: 0 / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.551e-05/0.3744, allocations: 12 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3744, allocations: 3.938 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006033/0.375, allocations: 378.5 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.3751, allocations: 85.02 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.3751, allocations: 3.938 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.3753, allocations: 31.95 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.3754, allocations: 7.984 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.3754, allocations: 0 / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.334e-05/0.3755, allocations: 125.9 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3755, allocations: 0 / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000266/0.3758, allocations: 20 kB / 1.074 GB, free: 3.77 MB / 0.8262 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.0001663/0.3759, allocations: 107.2 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005489/0.3765, allocations: 167.8 kB / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3765, allocations: 0 / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.3768, allocations: 96.14 kB / 1.074 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.3771, allocations: 15.94 kB / 1.074 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005686/0.3777, allocations: 285 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.378, allocations: 0.716 MB / 1.075 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.303e-05/0.3781, allocations: 27.97 kB / 1.075 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.3782, allocations: 11.44 kB / 1.075 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.3782, allocations: 0 / 1.075 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of Templates: time 0.003238/0.3814, allocations: 0.9875 MB / 1.076 GB, free: 1.316 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1)