Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.199/5.199, allocations: 0.5623 GB / 0.5769 GB, free: 3.27 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002383/0.002382, allocations: 363.2 kB / 0.6441 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.209/4.209, allocations: 410.7 MB / 1.112 GB, free: 5.914 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001786/0.001786, allocations: 191.9 kB / 1.225 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004885, allocations: 12 kB / 1.348 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5865/0.587, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.0007646/0.5878, allocations: 459.6 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002001/0.5881, allocations: 48.81 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.5881, allocations: 0 / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.5882, allocations: 19.86 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.452e-05/0.5883, allocations: 14.19 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.5885, allocations: 18.12 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.5887, allocations: 135.7 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.5889, allocations: 137.3 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.858e-05/0.5889, allocations: 31.8 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.331e-05/0.589, allocations: 39.67 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.589, allocations: 4 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.507e-05/0.5891, allocations: 0 / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.822e-05/0.5891, allocations: 36.64 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.5892, allocations: 53.58 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.5893, allocations: 172.9 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.405e-06/0.5893, allocations: 0 / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.537e-06/0.5893, allocations: 0 / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.5894, allocations: 0 / 1.462 GB, free: 283.2 MB / 0.8542 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.0004255/0.5898, allocations: 462.1 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.5898, allocations: 16.12 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.968e-05/0.5899, allocations: 25.12 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.5902, allocations: 258.6 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.5902, allocations: 12.38 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.5902, allocations: 16 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.5907, allocations: 328.9 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5907, allocations: 4.5 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.5908, allocations: 10.12 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.549e-05/0.5908, allocations: 18.09 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.5912, allocations: 260.4 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.5924, allocations: 1.086 MB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.094e-05/0.5925, allocations: 166.7 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.5925, allocations: 80.14 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.5925, allocations: 76.34 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.5926, allocations: 115.1 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 2.333e-06/0.5926, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0001029/0.5927, allocations: 50.42 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.5927, allocations: 130.6 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005356/0.5933, allocations: 0.4981 MB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.434e-06/0.5933, allocations: 25.7 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.5934, allocations: 167.8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-06/0.5934, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.307e-06/0.5935, allocations: 0.875 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.095e-05/0.5935, allocations: 343.4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.453e-05/0.5936, allocations: 47.95 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-05/0.5937, allocations: 100 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.5938, allocations: 64.02 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.732e-06/0.5939, allocations: 0 / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003192/0.5942, allocations: 177.2 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.5942, allocations: 12.09 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.848e-06/0.5942, allocations: 5.594 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.5943, allocations: 4 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.5944, allocations: 19.92 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.593e-06/0.5944, allocations: 7.953 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.5945, allocations: 36.55 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.5946, allocations: 8 kB / 1.466 GB, free: 278.4 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.5947, allocations: 245.8 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-05/0.5948, allocations: 129.3 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.886e-05/0.5949, allocations: 136.1 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-05/0.5949, allocations: 188.9 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.111e-05/0.595, allocations: 180.7 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/0.595, allocations: 188.2 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.5953, allocations: 493 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/0.5953, allocations: 101 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/0.5953, allocations: 106.3 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.963e-05/0.5954, allocations: 181.5 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.5954, allocations: 189.1 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-05/0.5954, allocations: 181.2 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.84e-05/0.5955, allocations: 177.1 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.5956, allocations: 336.9 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.5957, allocations: 221.8 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.123e-05/0.5958, allocations: 185.1 kB / 1.469 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.596, allocations: 105.5 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.596, allocations: 185.4 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.596, allocations: 110.2 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003851/0.5964, allocations: 359 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.96e-07/0.5964, allocations: 0.5 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000371/0.5968, allocations: 25.81 kB / 1.47 GB, free: 274.3 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001229/0.597, allocations: 178.5 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.5971, allocations: 65.11 kB / 1.47 GB, free: 274 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.354e-06/0.5972, allocations: 1.156 kB / 1.47 GB, free: 274 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.138e-06/0.5972, allocations: 7.938 kB / 1.47 GB, free: 274 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.5977, allocations: 0.5445 MB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005854/0.5983, allocations: 498.5 kB / 1.471 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.5986, allocations: 0.7775 MB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001077/0.5987, allocations: 49.52 kB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.5988, allocations: 20.22 kB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.724e-06/0.5988, allocations: 0 / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.00546/0.6042, allocations: 1.586 MB / 1.474 GB, free: 270.6 MB / 0.8542 GB