Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9555/0.9555, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.964/1.964, allocations: 377.8 MB / 0.6239 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matGai.y.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matGai.y.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 0.8116 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.922e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001483/0.001512, allocations: 0.7828 MB / 0.8124 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008109/0.002323, allocations: 0.8625 MB / 0.8132 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.002369, allocations: 4 kB / 0.8132 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.002526, allocations: 52.47 kB / 0.8133 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.857e-05/0.002575, allocations: 48.31 kB / 0.8133 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.927e-05/0.002644, allocations: 20.97 kB / 0.8133 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.002749, allocations: 87.75 kB / 0.8134 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.002851, allocations: 15.98 kB / 0.8134 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.618e-05/0.002927, allocations: 56.62 kB / 0.8135 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.00306, allocations: 82.31 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.003085, allocations: 8 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.003098, allocations: 8 kB / 0.8136 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.00315, allocations: 27.91 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.003187, allocations: 35.83 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.003302, allocations: 83.66 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.003305, allocations: 4 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.42e-07/0.003306, allocations: 1.344 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.00331, allocations: 0 / 0.8137 GB, free: 15.82 MB / 0.7761 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.0004497/0.00376, allocations: 481.6 kB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.003793, allocations: 8.031 kB / 0.8142 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.003832, allocations: 12.89 kB / 0.8142 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.00397, allocations: 160.9 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.003978, allocations: 4.906 kB / 0.8144 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.00399, allocations: 4.375 kB / 0.8144 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.004179, allocations: 111.5 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.819e-06/0.004184, allocations: 192 / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.004196, allocations: 12.89 kB / 0.8145 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.004202, allocations: 384 / 0.8145 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.941e-05/0.004281, allocations: 33.28 kB / 0.8145 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.004799, allocations: 491.7 kB / 0.815 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.00495, allocations: 86.19 kB / 0.8151 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.005, allocations: 31.31 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.00501, allocations: 1.094 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.005036, allocations: 41.33 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 2.084e-06/0.005038, allocations: 0 / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.000242/0.00528, allocations: 86.69 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.005323, allocations: 81.11 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.005445, allocations: 212.3 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.005459, allocations: 26.61 kB / 0.8155 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.588e-05/0.005525, allocations: 158.8 kB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.005556, allocations: 25.03 kB / 0.8157 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.005597, allocations: 27.38 kB / 0.8157 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.005728, allocations: 0.4962 MB / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.44e-05/0.005762, allocations: 5.344 kB / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.343e-05/0.005806, allocations: 35.36 kB / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.998e-05/0.005875, allocations: 47.25 kB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005877, allocations: 0 / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001136/0.005991, allocations: 86.98 kB / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.006006, allocations: 4 kB / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.006011, allocations: 480 / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.006025, allocations: 4 kB / 0.8164 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.006138, allocations: 26.78 kB / 0.8164 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.006143, allocations: 0 / 0.8164 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.00619, allocations: 19.92 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.006197, allocations: 0 / 0.8164 GB, free: 12.81 MB / 0.7761 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 7.817e-05/0.006275, allocations: 164.6 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.006308, allocations: 19.84 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.006345, allocations: 28.81 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.006348, allocations: 0.5312 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.006352, allocations: 1.938 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006355, allocations: 0 / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.006521, allocations: 148.6 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.006523, allocations: 4 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.019e-05/0.006593, allocations: 27.91 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.006596, allocations: 5.688 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.006606, allocations: 7.938 kB / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.006609, allocations: 4 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.00661, allocations: 0 / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.006797, allocations: 343 kB / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.006808, allocations: 8.859 kB / 0.8172 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.006824, allocations: 3.938 kB / 0.8172 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.006905, allocations: 20.52 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.006957, allocations: 16.75 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.006963, allocations: 4 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.53e-05/0.007028, allocations: 156 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.007028, allocations: 0 / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001767/0.007205, allocations: 16 kB / 0.8174 GB, free: 11.79 MB / 0.7761 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.0001137/0.007319, allocations: 100.5 kB / 0.8175 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.007461, allocations: 44.45 kB / 0.8175 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.007463, allocations: 0 / 0.8175 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.335e-05/0.007507, allocations: 26.48 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.007777, allocations: 20.16 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004621/0.008239, allocations: 245.2 kB / 0.8178 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.562e-05/0.008295, allocations: 74.05 kB / 0.8178 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.397e-05/0.008349, allocations: 19.97 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.008395, allocations: 16.5 kB / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of SimCode: time 1.082e-06/0.008396, allocations: 0 / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of Templates: time 0.003216/0.01161, allocations: 1.244 MB / 0.8191 GB, free: 9.984 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.335495994891971]