Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.001401, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001822/0.001822, allocations: 193 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.746/1.746, allocations: 251.7 MB / 0.5088 GB, free: 3.293 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001587, allocations: 67.91 kB / 0.6216 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7938/0.7954, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.002629/0.7981, allocations: 0.8239 MB / 0.7246 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003561/0.7985, allocations: 51.83 kB / 0.7247 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.825e-05/0.7986, allocations: 7.938 kB / 0.7247 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.7988, allocations: 15.86 kB / 0.7247 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.183e-05/0.7989, allocations: 11.97 kB / 0.7247 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.7991, allocations: 27.98 kB / 0.7247 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.7993, allocations: 123.6 kB / 0.7249 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003188/0.7997, allocations: 152.5 kB / 0.725 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.7998, allocations: 55.8 kB / 0.7251 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.7999, allocations: 67.64 kB / 0.7251 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.8, allocations: 8 kB / 0.7251 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.442e-05/0.8, allocations: 11.94 kB / 0.7251 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.38e-05/0.8001, allocations: 47.84 kB / 0.7252 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.8002, allocations: 79.42 kB / 0.7253 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.8005, allocations: 215.3 kB / 0.7255 GB, free: 11.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8005, allocations: 4 kB / 0.7255 GB, free: 11.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8005, allocations: 0 / 0.7255 GB, free: 11.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.8005, allocations: 0 / 0.7255 GB, free: 11.47 MB / 0.545 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.0007053/0.8012, allocations: 0.4971 MB / 0.726 GB, free: 10.92 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.8013, allocations: 8.031 kB / 0.726 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.621e-05/0.8014, allocations: 24.66 kB / 0.726 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.8017, allocations: 264.2 kB / 0.7262 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.8017, allocations: 16.73 kB / 0.7263 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.8018, allocations: 16.38 kB / 0.7263 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.8023, allocations: 345.1 kB / 0.7266 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.8023, allocations: 7.938 kB / 0.7266 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.8023, allocations: 4 kB / 0.7266 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-05/0.8024, allocations: 15.98 kB / 0.7266 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003563/0.8028, allocations: 264.9 kB / 0.7269 GB, free: 9.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.8042, allocations: 1.08 MB / 0.7279 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.8043, allocations: 173.1 kB / 0.7281 GB, free: 8.609 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.648e-05/0.8044, allocations: 84.12 kB / 0.7282 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.8044, allocations: 75.28 kB / 0.7282 GB, free: 8.449 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/0.8044, allocations: 110 kB / 0.7284 GB, free: 8.332 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/0.8044, allocations: 0 / 0.7284 GB, free: 8.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001237/0.8046, allocations: 61.3 kB / 0.7284 GB, free: 8.266 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.8047, allocations: 126.7 kB / 0.7285 GB, free: 8.129 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/0.8052, allocations: 0.4964 MB / 0.729 GB, free: 7.621 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.8052, allocations: 25.7 kB / 0.729 GB, free: 7.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.8054, allocations: 175.8 kB / 0.7292 GB, free: 7.414 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.017e-06/0.8054, allocations: 4 kB / 0.7292 GB, free: 7.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/0.8054, allocations: 33.61 kB / 0.7292 GB, free: 7.371 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.8056, allocations: 342.8 kB / 0.7296 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.101e-05/0.8057, allocations: 47.95 kB / 0.7296 GB, free: 6.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.424e-05/0.8058, allocations: 98.77 kB / 0.7297 GB, free: 6.859 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.8059, allocations: 126.7 kB / 0.7298 GB, free: 6.711 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.8059, allocations: 4 kB / 0.7298 GB, free: 6.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003107/0.8062, allocations: 185.1 kB / 0.73 GB, free: 6.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.8063, allocations: 7.938 kB / 0.73 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.8063, allocations: 4 kB / 0.73 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.8063, allocations: 4 kB / 0.73 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.8064, allocations: 19.98 kB / 0.73 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.8065, allocations: 4.25 kB / 0.7301 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-05/0.8066, allocations: 43.61 kB / 0.7301 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.8066, allocations: 8 kB / 0.7301 GB, free: 6.43 MB / 0.545 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.0001933/0.8068, allocations: 253 kB / 0.7303 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.148e-05/0.8069, allocations: 124.6 kB / 0.7305 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.877e-05/0.807, allocations: 138.8 kB / 0.7306 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.537e-05/0.807, allocations: 180.2 kB / 0.7308 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.084e-05/0.8071, allocations: 184.3 kB / 0.7309 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.05e-05/0.8072, allocations: 180.2 kB / 0.7311 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.8075, allocations: 489.1 kB / 0.7316 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.673e-05/0.8076, allocations: 108.9 kB / 0.7317 GB, free: 4.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.8076, allocations: 101 kB / 0.7318 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.785e-05/0.8077, allocations: 184.2 kB / 0.732 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.907e-05/0.8078, allocations: 188.2 kB / 0.7321 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.265e-05/0.8078, allocations: 180.3 kB / 0.7323 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.947e-05/0.8079, allocations: 180.2 kB / 0.7325 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.8081, allocations: 331.4 kB / 0.7328 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.8083, allocations: 217.8 kB / 0.733 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.8084, allocations: 188.5 kB / 0.7332 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.8085, allocations: 108.9 kB / 0.7333 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.8086, allocations: 176.3 kB / 0.7335 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.8086, allocations: 109 kB / 0.7336 GB, free: 2.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003593/0.809, allocations: 367 kB / 0.7339 GB, free: 2.305 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.809, allocations: 7.938 kB / 0.7339 GB, free: 2.297 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002935/0.8093, allocations: 24 kB / 0.7339 GB, free: 2.273 MB / 0.545 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.0002036/0.8095, allocations: 170.5 kB / 0.7341 GB, free: 2.098 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001551/0.8096, allocations: 71.89 kB / 0.7342 GB, free: 2.027 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8097, allocations: 0.5 kB / 0.7342 GB, free: 2.027 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.8097, allocations: 4 kB / 0.7342 GB, free: 2.023 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006739/0.8103, allocations: 0.5472 MB / 0.7347 GB, free: 1.465 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000639/0.811, allocations: 0.5163 MB / 0.7352 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.8113, allocations: 0.7791 MB / 0.736 GB, free: 120 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.624e-05/0.8114, allocations: 49.47 kB / 0.736 GB, free: 72 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.8115, allocations: 15.44 kB / 0.736 GB, free: 60 kB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.8115, allocations: 4 kB / 0.736 GB, free: 56 kB / 0.545 GB Notification: Performance of Templates: time 0.004689/0.8162, allocations: 1.673 MB / 0.7377 GB, free: 14.39 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1)