Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.001034/0.001034, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001549/0.002583, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001112/0.001112, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001502/0.002614, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9269/0.9269, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1078/1.035, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.412/2.412, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2512/2.663, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.[0-9,]+.|matMin1.y.[0-9,]+.|matMin2.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.[0-9,]+.|matMin1.y.[0-9,]+.|matMin2.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.819 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.226e-05, allocations: 2.312 kB / 0.819 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002474/0.002496, allocations: 0.7877 MB / 0.8198 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001766/0.002673, allocations: 59.75 kB / 0.8198 GB, free: 1.57 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.002731, allocations: 7.938 kB / 0.8198 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.002854, allocations: 19.86 kB / 0.8199 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.602e-05/0.00291, allocations: 11.92 kB / 0.8199 GB, free: 1.531 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/0.003046, allocations: 35.89 kB / 0.8199 GB, free: 1.496 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.003253, allocations: 119.6 kB / 0.82 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.003447, allocations: 86.19 kB / 0.8201 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.003601, allocations: 116.5 kB / 0.8202 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.003718, allocations: 67.88 kB / 0.8203 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.003767, allocations: 11.94 kB / 0.8203 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 2.827e-05/0.003795, allocations: 12 kB / 0.8203 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 7.254e-05/0.003868, allocations: 39.86 kB / 0.8203 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 5.977e-05/0.003928, allocations: 39.88 kB / 0.8204 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.004146, allocations: 159.3 kB / 0.8205 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.004156, allocations: 0 / 0.8205 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.332e-06/0.004158, allocations: 0 / 0.8205 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.004173, allocations: 0 / 0.8205 GB, free: 0.8555 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006243/0.004797, allocations: 443.9 kB / 0.8209 GB, free: 404 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.004835, allocations: 8.031 kB / 0.8209 GB, free: 396 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.928e-05/0.004905, allocations: 24.92 kB / 0.821 GB, free: 372 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.005132, allocations: 177.4 kB / 0.8211 GB, free: 168 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.00515, allocations: 12.75 kB / 0.8212 GB, free: 156 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.005187, allocations: 24.38 kB / 0.8212 GB, free: 132 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.00553, allocations: 200.4 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.005543, allocations: 3.938 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.005564, allocations: 8 kB / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/0.0056, allocations: 15.98 kB / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.005733, allocations: 66.22 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008586/0.006591, allocations: 0.7215 MB / 0.8222 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.583e-05/0.006677, allocations: 177.1 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.597e-05/0.006743, allocations: 80.14 kB / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.006766, allocations: 79.22 kB / 0.8225 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.006809, allocations: 113.8 kB / 0.8226 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.00681, allocations: 0 / 0.8226 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 7.591e-05/0.006886, allocations: 33.64 kB / 0.8226 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.006946, allocations: 134.8 kB / 0.8228 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.007125, allocations: 188.4 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.007134, allocations: 25.7 kB / 0.823 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.602e-05/0.00723, allocations: 172 kB / 0.8231 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-06/0.007234, allocations: 4 kB / 0.8231 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.007287, allocations: 21.7 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.007462, allocations: 326.8 kB / 0.8235 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.965e-05/0.007491, allocations: 7.984 kB / 0.8235 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.414e-05/0.007545, allocations: 54.88 kB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.007661, allocations: 81.53 kB / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.007664, allocations: 0 / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001689/0.007833, allocations: 81.48 kB / 0.8237 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.007851, allocations: 9.406 kB / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.007857, allocations: 0 / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.007872, allocations: 4 kB / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.007986, allocations: 23.97 kB / 0.8237 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.007997, allocations: 16.02 kB / 0.8237 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.692e-05/0.008074, allocations: 23.89 kB / 0.8237 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.00809, allocations: 8 kB / 0.8238 GB, free: 13.31 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0001025/0.008193, allocations: 192.2 kB / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.008255, allocations: 109 kB / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.851e-05/0.008314, allocations: 121.4 kB / 0.8242 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.466e-05/0.008368, allocations: 180.3 kB / 0.8243 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-05/0.008427, allocations: 188.2 kB / 0.8245 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.774e-05/0.008484, allocations: 180.3 kB / 0.8247 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.008846, allocations: 357.4 kB / 0.825 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.171e-05/0.008877, allocations: 104.9 kB / 0.8251 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/0.008909, allocations: 109 kB / 0.8252 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.008957, allocations: 108.9 kB / 0.8253 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.373e-05/0.00901, allocations: 188.2 kB / 0.8255 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/0.009061, allocations: 180.2 kB / 0.8257 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.188e-05/0.009113, allocations: 184.2 kB / 0.8259 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.898e-05/0.009162, allocations: 180.2 kB / 0.826 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.009296, allocations: 315.7 kB / 0.8263 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.766e-05/0.009363, allocations: 180.2 kB / 0.8265 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.009464, allocations: 109 kB / 0.8266 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.00952, allocations: 180.3 kB / 0.8268 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.009551, allocations: 104.9 kB / 0.8269 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.298e-05/0.009634, allocations: 57.81 kB / 0.8269 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.1e-08/0.009634, allocations: 0 / 0.8269 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002408/0.009875, allocations: 43.78 kB / 0.827 GB, free: 9.832 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001355/0.01001, allocations: 155.7 kB / 0.8271 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.939e-05/0.01011, allocations: 28.77 kB / 0.8272 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.01012, allocations: 7.938 kB / 0.8272 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.408e-06/0.01012, allocations: 4 kB / 0.8272 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.01057, allocations: 0.6393 MB / 0.8278 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005273/0.0111, allocations: 420.1 kB / 0.8282 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.589e-05/0.01118, allocations: 91.3 kB / 0.8283 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.063e-05/0.01123, allocations: 8.5 kB / 0.8283 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.168e-05/0.01132, allocations: 63.36 kB / 0.8283 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of SimCode: time 9.01e-07/0.01132, allocations: 0 / 0.8283 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of Templates: time 0.003763/0.01508, allocations: 1.103 MB / 0.8294 GB, free: 7.246 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.216444729827344]