Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.106/5.106, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 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.002486/0.002486, allocations: 361.5 kB / 0.644 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.249/4.249, allocations: 410.7 MB / 1.112 GB, free: 5.945 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.001803/0.001803, allocations: 177.3 kB / 1.225 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.0005081, allocations: 20 kB / 1.348 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5906/0.5911, 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.MatrixGain): time 0.0007978/0.5919, allocations: 483.6 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000844/0.5928, allocations: 0.8226 MB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.5929, allocations: 4 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.5931, allocations: 47.86 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.235e-05/0.5931, allocations: 31.84 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 6.097e-05/0.5932, allocations: 16.88 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.45e-05/0.5933, allocations: 75.75 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.5934, allocations: 18.64 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.915e-05/0.5935, allocations: 31.91 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.5936, allocations: 72.38 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.5937, allocations: 4.594 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.645e-05/0.5937, allocations: 5.812 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.042e-05/0.5937, allocations: 35.89 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.5938, allocations: 41.58 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.35e-05/0.5939, allocations: 79.83 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.307e-06/0.5939, allocations: 0 / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.861e-06/0.5939, allocations: 1.031 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.963e-06/0.5939, allocations: 0 / 1.462 GB, free: 282.5 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006629/0.5946, allocations: 461 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.5946, allocations: 15.62 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.5947, allocations: 14.31 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.5949, allocations: 206.8 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.5949, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.5949, allocations: 4 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004294/0.5954, allocations: 168.7 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.139e-06/0.5954, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.5954, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.336e-06/0.5954, allocations: 4 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006149/0.5961, allocations: 206.7 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008156/0.5969, allocations: 0.5218 MB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/0.5974, allocations: 180 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.5977, allocations: 112.6 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.5977, allocations: 0 / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.5977, allocations: 40.12 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.9e-06/0.5978, allocations: 0 / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.001036/0.5988, allocations: 334.9 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.5989, allocations: 85 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.599, allocations: 161.3 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.599, allocations: 25.7 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.5991, allocations: 104.8 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.5991, allocations: 27.59 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.778e-06/0.5991, allocations: 0.5938 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.894e-05/0.5992, allocations: 328 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.5995, allocations: 95.52 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.5998, allocations: 108.3 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.6001, allocations: 95.58 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.251e-06/0.6001, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006564/0.6008, allocations: 240.4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.6008, allocations: 7.594 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.145e-06/0.6008, allocations: 4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.6009, allocations: 3.984 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.6011, allocations: 38.88 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.99e-06/0.6012, allocations: 7.953 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.6013, allocations: 37.39 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.6014, allocations: 0 / 1.466 GB, free: 278.8 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.74e-05/0.6015, allocations: 135.1 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/0.6015, allocations: 7.906 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/0.6016, allocations: 21.34 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.842e-06/0.6016, allocations: 3.938 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.011e-06/0.6016, allocations: 0 / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.326e-06/0.6016, allocations: 9.562 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.602, allocations: 234.2 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.602, allocations: 0 / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.6022, allocations: 37.91 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/0.6022, allocations: 11.98 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.6023, allocations: 5.938 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.589e-06/0.6023, allocations: 0 / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.067e-06/0.6023, allocations: 0 / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006954/0.603, allocations: 414.9 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.603, allocations: 85.02 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.6031, allocations: 0 / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.6033, allocations: 38.61 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.6034, allocations: 7.984 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.6034, allocations: 5.453 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.694e-05/0.6035, allocations: 122.8 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.288e-06/0.6035, allocations: 0 / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003809/0.6039, allocations: 24.5 kB / 1.467 GB, free: 277.6 MB / 0.8542 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 (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.0001189/0.6041, allocations: 109.5 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006728/0.6047, allocations: 201.2 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.123e-06/0.6048, allocations: 0 / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000404/0.6052, allocations: 103.2 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.6057, allocations: 18.56 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.6062, allocations: 272.2 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.6064, allocations: 0.721 MB / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.6065, allocations: 24.56 kB / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.6066, allocations: 12.09 kB / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.711e-06/0.6066, allocations: 0 / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.003819/0.6104, allocations: 0.9428 MB / 1.469 GB, free: 275.2 MB / 0.8542 GB