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.MatrixMax.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.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001349/0.001349, allocations: 192 kB / 16.25 MB, free: 6.629 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.674/1.674, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.793/1.793, allocations: 251.7 MB / 0.5089 GB, free: 3.328 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.001473/0.001473, allocations: 68.23 kB / 0.6218 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7146/0.7161, allocations: 104.7 MB / 0.724 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002681/0.7189, allocations: 0.8123 MB / 0.7248 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002983/0.7192, allocations: 51.83 kB / 0.7249 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.7193, allocations: 3.938 kB / 0.7249 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.7195, allocations: 11.94 kB / 0.7249 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.201e-05/0.7196, allocations: 11.92 kB / 0.7249 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.7198, allocations: 38.58 kB / 0.7249 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.72, allocations: 115.7 kB / 0.725 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003291/0.7203, allocations: 152.5 kB / 0.7252 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.132e-05/0.7204, allocations: 71.78 kB / 0.7252 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.7205, allocations: 71.64 kB / 0.7253 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.7206, allocations: 12 kB / 0.7253 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.797e-05/0.7206, allocations: 12 kB / 0.7253 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.794e-05/0.7207, allocations: 47.86 kB / 0.7254 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.7208, allocations: 99.34 kB / 0.7255 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.7211, allocations: 211.3 kB / 0.7257 GB, free: 11.51 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.7211, allocations: 11.88 kB / 0.7257 GB, free: 11.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7212, allocations: 0 / 0.7257 GB, free: 11.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.7212, allocations: 0 / 0.7257 GB, free: 11.5 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007546/0.7219, allocations: 0.497 MB / 0.7262 GB, free: 10.95 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.722, allocations: 8.031 kB / 0.7262 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/0.7221, allocations: 24.66 kB / 0.7262 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.7224, allocations: 252.6 kB / 0.7264 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.7224, allocations: 16.75 kB / 0.7265 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.7225, allocations: 16.38 kB / 0.7265 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/0.723, allocations: 341.1 kB / 0.7268 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.7231, allocations: 3.938 kB / 0.7268 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.7231, allocations: 8 kB / 0.7268 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/0.7232, allocations: 23.92 kB / 0.7268 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.7236, allocations: 251.9 kB / 0.7271 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.725, allocations: 1.084 MB / 0.7281 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.7252, allocations: 169.1 kB / 0.7283 GB, free: 8.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.614e-05/0.7253, allocations: 80.14 kB / 0.7284 GB, free: 8.578 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.106e-05/0.7254, allocations: 75.28 kB / 0.7284 GB, free: 8.504 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.7255, allocations: 113.8 kB / 0.7286 GB, free: 8.383 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 2.976e-06/0.7255, allocations: 0 / 0.7286 GB, free: 8.383 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001393/0.7256, allocations: 53.55 kB / 0.7286 GB, free: 8.324 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.7257, allocations: 130.6 kB / 0.7287 GB, free: 8.184 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006354/0.7264, allocations: 0.4965 MB / 0.7292 GB, free: 7.676 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.7264, allocations: 25.7 kB / 0.7292 GB, free: 7.645 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.7266, allocations: 171.7 kB / 0.7294 GB, free: 7.473 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.7266, allocations: 0 / 0.7294 GB, free: 7.473 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/0.7267, allocations: 33.7 kB / 0.7294 GB, free: 7.434 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002572/0.727, allocations: 334.8 kB / 0.7298 GB, free: 7.098 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.7271, allocations: 51.95 kB / 0.7298 GB, free: 7.047 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.7272, allocations: 93.95 kB / 0.7299 GB, free: 6.934 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.7274, allocations: 113.9 kB / 0.73 GB, free: 6.801 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.7275, allocations: 4 kB / 0.73 GB, free: 6.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00036/0.7278, allocations: 181.2 kB / 0.7302 GB, free: 6.613 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.7279, allocations: 4 kB / 0.7302 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.7279, allocations: 7.938 kB / 0.7302 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.7279, allocations: 0 / 0.7302 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.7281, allocations: 19.98 kB / 0.7302 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.7281, allocations: 8.094 kB / 0.7302 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.7282, allocations: 35.67 kB / 0.7302 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.7282, allocations: 11.98 kB / 0.7303 GB, free: 6.527 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0002335/0.7285, allocations: 249.3 kB / 0.7305 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.7286, allocations: 124.7 kB / 0.7306 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.7287, allocations: 146.7 kB / 0.7308 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001127/0.7289, allocations: 180.2 kB / 0.7309 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.09e-05/0.7289, allocations: 180.2 kB / 0.7311 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001058/0.7291, allocations: 184.3 kB / 0.7313 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.7295, allocations: 493 kB / 0.7317 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.58e-05/0.7296, allocations: 108.9 kB / 0.7319 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.928e-05/0.7296, allocations: 101 kB / 0.7319 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.765e-05/0.7297, allocations: 180.2 kB / 0.7321 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.854e-05/0.7298, allocations: 188.2 kB / 0.7323 GB, free: 4.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.452e-05/0.7299, allocations: 184.2 kB / 0.7325 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001075/0.7301, allocations: 180.2 kB / 0.7326 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.7304, allocations: 327.4 kB / 0.733 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.7305, allocations: 217.9 kB / 0.7332 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.7307, allocations: 188.5 kB / 0.7333 GB, free: 3.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.7308, allocations: 112.9 kB / 0.7335 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.731, allocations: 180.3 kB / 0.7336 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.255e-05/0.7311, allocations: 108.9 kB / 0.7337 GB, free: 2.746 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004431/0.7315, allocations: 367 kB / 0.7341 GB, free: 2.391 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7315, allocations: 0 / 0.7341 GB, free: 2.391 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003469/0.7319, allocations: 28 kB / 0.7341 GB, free: 2.363 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.0002743/0.7322, allocations: 174.5 kB / 0.7343 GB, free: 2.184 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.7323, allocations: 63.89 kB / 0.7343 GB, free: 2.121 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7324, allocations: 0 / 0.7343 GB, free: 2.121 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.399e-06/0.7324, allocations: 4 kB / 0.7343 GB, free: 2.117 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008927/0.7333, allocations: 485.2 kB / 0.7348 GB, free: 1.637 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008862/0.7342, allocations: 0.5148 MB / 0.7353 GB, free: 1.094 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/0.7347, allocations: 0.7749 MB / 0.7361 GB, free: 300 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.7349, allocations: 49.52 kB / 0.7361 GB, free: 252 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.435e-05/0.7349, allocations: 15.44 kB / 0.7361 GB, free: 240 kB / 0.545 GB Notification: Performance of SimCode: time 1.233e-06/0.7349, allocations: 0 / 0.7361 GB, free: 240 kB / 0.545 GB Notification: Performance of Templates: time 0.005406/0.7404, allocations: 1.737 MB / 0.7378 GB, free: 14.5 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1)