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.001016/0.001016, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001066/0.001066, allocations: 165.9 kB / 24.87 MB, free: 8.891 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 1.046/1.046, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.933/1.933, allocations: 377.9 MB / 0.6247 GB, free: 8.402 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 1.763e-06/1.763e-06, allocations: 0 / 0.8128 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.62e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001261/0.001277, allocations: 0.7781 MB / 0.8136 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007892/0.002067, allocations: 0.8672 MB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.028e-05/0.002117, allocations: 4 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.002308, allocations: 56.64 kB / 0.8145 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.205e-05/0.00236, allocations: 50.06 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 6.017e-05/0.00242, allocations: 15.98 kB / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.00252, allocations: 87.75 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.002626, allocations: 19.97 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.792e-05/0.002704, allocations: 47.89 kB / 0.8147 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.002835, allocations: 84.98 kB / 0.8148 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.002859, allocations: 8 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.002872, allocations: 8 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.455e-05/0.002926, allocations: 36.62 kB / 0.8149 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.002963, allocations: 31.91 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.003071, allocations: 85.06 kB / 0.815 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003072, allocations: 0 / 0.815 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003073, allocations: 0 / 0.815 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.003077, allocations: 0 / 0.815 GB, free: 15.21 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.0004055/0.003483, allocations: 461.5 kB / 0.8154 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.003515, allocations: 8.031 kB / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.003547, allocations: 18.64 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.003674, allocations: 152.3 kB / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.003683, allocations: 4.375 kB / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.003693, allocations: 8.375 kB / 0.8156 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.003855, allocations: 107.1 kB / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.003862, allocations: 192 / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.00387, allocations: 0.9062 kB / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.003875, allocations: 1.094 kB / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.107e-05/0.003926, allocations: 27.91 kB / 0.8157 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.004294, allocations: 449.1 kB / 0.8161 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.004402, allocations: 82.19 kB / 0.8162 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/0.004437, allocations: 19.91 kB / 0.8162 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.004449, allocations: 7.938 kB / 0.8163 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.004474, allocations: 38.77 kB / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 7.91e-07/0.004475, allocations: 0 / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001726/0.004648, allocations: 81.59 kB / 0.8164 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.004678, allocations: 78.27 kB / 0.8164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.866e-05/0.004777, allocations: 218 kB / 0.8167 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.004788, allocations: 29.64 kB / 0.8167 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.00485, allocations: 163.9 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.004873, allocations: 23.83 kB / 0.8169 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.004908, allocations: 23.38 kB / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.005034, allocations: 0.4962 MB / 0.8174 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/0.005055, allocations: 4.844 kB / 0.8174 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.082e-05/0.005086, allocations: 31.34 kB / 0.8174 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.142e-05/0.005138, allocations: 40.53 kB / 0.8174 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005139, allocations: 0 / 0.8174 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.51e-05/0.005234, allocations: 82.84 kB / 0.8175 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.005245, allocations: 7.938 kB / 0.8175 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.005249, allocations: 3.938 kB / 0.8175 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.005257, allocations: 0.8438 kB / 0.8175 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.082e-05/0.005338, allocations: 19.98 kB / 0.8175 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.005342, allocations: 5.219 kB / 0.8176 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.837e-05/0.005381, allocations: 7.938 kB / 0.8176 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.005388, allocations: 7.984 kB / 0.8176 GB, free: 12.31 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 6.717e-05/0.005455, allocations: 161.9 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.005488, allocations: 15.91 kB / 0.8177 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.005516, allocations: 20.28 kB / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.005518, allocations: 1.656 kB / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.00552, allocations: 0 / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.005524, allocations: 4 kB / 0.8178 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.005834, allocations: 129.2 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.005836, allocations: 6.688 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.663e-05/0.005893, allocations: 23.92 kB / 0.8179 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.005894, allocations: 0 / 0.8179 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.0059, allocations: 0 / 0.8179 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005901, allocations: 4 kB / 0.8179 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.005902, allocations: 3.938 kB / 0.8179 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.006052, allocations: 339 kB / 0.8182 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.006063, allocations: 12.44 kB / 0.8183 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.006073, allocations: 0.5312 kB / 0.8183 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.005e-05/0.006143, allocations: 13.94 kB / 0.8183 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.006193, allocations: 19.84 kB / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.006197, allocations: 0 / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.579e-05/0.006253, allocations: 155.1 kB / 0.8184 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006253, allocations: 4 kB / 0.8184 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001763/0.006429, allocations: 16.91 kB / 0.8185 GB, free: 11.35 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 8.19e-05/0.006511, allocations: 99.84 kB / 0.8186 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.729e-05/0.006608, allocations: 39.84 kB / 0.8186 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.00661, allocations: 0.6562 kB / 0.8186 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.048e-05/0.00665, allocations: 30.61 kB / 0.8186 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.006904, allocations: 23.91 kB / 0.8186 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.007243, allocations: 234.2 kB / 0.8189 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.691e-05/0.00729, allocations: 71.33 kB / 0.8189 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.063e-05/0.007321, allocations: 6.594 kB / 0.8189 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.007394, allocations: 78.19 kB / 0.819 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.007394, allocations: 0 / 0.819 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of Templates: time 0.003283/0.01068, allocations: 1.387 MB / 0.8204 GB, free: 9.355 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.172381705138832]