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.0008867/0.0008867, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001107/0.001107, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 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.9803/0.9803, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.844/1.844, allocations: 377.8 MB / 0.6236 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 178] 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 4.398e-06/4.398e-06, allocations: 4 kB / 0.8116 GB, free: 1.625 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.859e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001351/0.001379, allocations: 0.7865 MB / 0.8124 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007998/0.002179, allocations: 0.8671 MB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.866e-05/0.002228, allocations: 1.25 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.00242, allocations: 59.78 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.216e-05/0.002473, allocations: 39.72 kB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001064/0.002579, allocations: 22.41 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.0027, allocations: 91.73 kB / 0.8134 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.002811, allocations: 12 kB / 0.8134 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.002893, allocations: 59.86 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.003017, allocations: 75.84 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.003048, allocations: 9.531 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.003061, allocations: 8 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.823e-05/0.00312, allocations: 35.89 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.00316, allocations: 27.92 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.003282, allocations: 85.19 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003284, allocations: 0 / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003285, allocations: 0 / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.003289, allocations: 0 / 0.8137 GB, free: 15.46 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.0005295/0.003819, allocations: 482 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.003859, allocations: 11.97 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.003909, allocations: 12.89 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.004078, allocations: 157 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.004093, allocations: 8.375 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.004106, allocations: 0.9062 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.00432, allocations: 115.6 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.00433, allocations: 192 / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.004345, allocations: 4.375 kB / 0.8145 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.004353, allocations: 5.469 kB / 0.8145 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.355e-05/0.004437, allocations: 27.92 kB / 0.8145 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005125/0.004949, allocations: 495.5 kB / 0.815 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.005088, allocations: 83.03 kB / 0.8151 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.005135, allocations: 31.36 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.005147, allocations: 5.094 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.005173, allocations: 45.34 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.005174, allocations: 0 / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002244/0.005398, allocations: 86.45 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.005437, allocations: 77.11 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.00555, allocations: 217.8 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.005563, allocations: 25.7 kB / 0.8155 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.005628, allocations: 158.8 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.005655, allocations: 23.84 kB / 0.8157 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.005693, allocations: 24.53 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.005815, allocations: 0.4962 MB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.124e-05/0.005847, allocations: 8 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.932e-05/0.005886, allocations: 34.55 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.867e-05/0.005955, allocations: 47.3 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.005958, allocations: 0 / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001136/0.006071, allocations: 77.53 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.006085, allocations: 7.938 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.006092, allocations: 4 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.006107, allocations: 0 / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.006215, allocations: 27.91 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.00622, allocations: 4.5 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.006264, allocations: 17.86 kB / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.006272, allocations: 4 kB / 0.8164 GB, free: 12.45 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 8.14e-05/0.006353, allocations: 164.6 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.006386, allocations: 19.84 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.006415, allocations: 20.34 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.006417, allocations: 1.531 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.006421, allocations: 0 / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.006426, allocations: 4 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.006579, allocations: 152.6 kB / 0.8168 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.00658, allocations: 1.062 kB / 0.8168 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.605e-05/0.006646, allocations: 27.98 kB / 0.8168 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.006649, allocations: 9.266 kB / 0.8168 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.00666, allocations: 7.938 kB / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.006661, allocations: 0.8438 kB / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.006663, allocations: 4 kB / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.006853, allocations: 339.2 kB / 0.8172 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.006864, allocations: 13.22 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.006879, allocations: 7.938 kB / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.006953, allocations: 19.97 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.007007, allocations: 12.8 kB / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.007011, allocations: 0 / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.255e-05/0.007084, allocations: 160 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.007084, allocations: 0 / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001772/0.007261, allocations: 16 kB / 0.8174 GB, free: 11.43 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 9.729e-05/0.007358, allocations: 107.1 kB / 0.8175 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001404/0.007499, allocations: 35.67 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.007501, allocations: 3 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.753e-05/0.007548, allocations: 31.61 kB / 0.8176 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.007812, allocations: 18.39 kB / 0.8176 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.008237, allocations: 235.2 kB / 0.8178 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.323e-05/0.0083, allocations: 75.2 kB / 0.8179 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.652e-05/0.008346, allocations: 21.03 kB / 0.8179 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.008396, allocations: 17.62 kB / 0.8179 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of SimCode: time 8.92e-07/0.008397, allocations: 0 / 0.8179 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of Templates: time 0.00304/0.01144, allocations: 1.321 MB / 0.8192 GB, free: 9.539 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.1364792650565505]