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.MatrixGain.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.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000865/0.000865, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001014/0.001015, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.592/1.592, allocations: 252 MB / 0.5102 GB, free: 4.828 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.0005987/0.0005988, allocations: 16 kB / 0.6243 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6017/0.6024, allocations: 106.3 MB / 0.7282 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001566/0.604, allocations: 1.188 MB / 0.7293 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003232/0.6043, allocations: 148.4 kB / 0.7295 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.469e-05/0.6044, allocations: 0 / 0.7295 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.6046, allocations: 51.81 kB / 0.7295 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.315e-05/0.6047, allocations: 35.88 kB / 0.7295 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.813e-05/0.6047, allocations: 15.98 kB / 0.7296 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.6049, allocations: 79.75 kB / 0.7296 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.605, allocations: 19.94 kB / 0.7296 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.734e-05/0.6051, allocations: 39.81 kB / 0.7297 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.6052, allocations: 63.86 kB / 0.7297 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.6052, allocations: 4 kB / 0.7297 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.472e-05/0.6053, allocations: 11.94 kB / 0.7298 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.863e-05/0.6053, allocations: 23.97 kB / 0.7298 GB, free: 9.723 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.6054, allocations: 37.64 kB / 0.7298 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.6055, allocations: 83.81 kB / 0.7299 GB, free: 9.598 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.6055, allocations: 4 kB / 0.7299 GB, free: 9.594 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6055, allocations: 0 / 0.7299 GB, free: 9.594 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.6055, allocations: 0 / 0.7299 GB, free: 9.594 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008085/0.6063, allocations: 476.6 kB / 0.7304 GB, free: 9.082 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.6064, allocations: 8.031 kB / 0.7304 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.6064, allocations: 11.81 kB / 0.7304 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.6067, allocations: 198.8 kB / 0.7306 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.6067, allocations: 11.98 kB / 0.7306 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.6067, allocations: 8 kB / 0.7306 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/0.6071, allocations: 155.3 kB / 0.7307 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.6072, allocations: 0 / 0.7307 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.6072, allocations: 8 kB / 0.7307 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.6072, allocations: 3.938 kB / 0.7307 GB, free: 8.633 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005277/0.6077, allocations: 199.8 kB / 0.7309 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008455/0.6086, allocations: 0.5203 MB / 0.7314 GB, free: 7.863 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.609, allocations: 177.1 kB / 0.7316 GB, free: 7.672 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.6093, allocations: 109.7 kB / 0.7317 GB, free: 7.559 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.6093, allocations: 7.984 kB / 0.7317 GB, free: 7.551 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.6093, allocations: 34.5 kB / 0.7318 GB, free: 7.508 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.133e-06/0.6093, allocations: 0 / 0.7318 GB, free: 7.508 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0008827/0.6102, allocations: 333.3 kB / 0.7321 GB, free: 7.176 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.6103, allocations: 92.94 kB / 0.7322 GB, free: 7.066 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.6105, allocations: 164.8 kB / 0.7323 GB, free: 6.898 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.6105, allocations: 29.7 kB / 0.7323 GB, free: 6.863 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.722e-05/0.6106, allocations: 104.1 kB / 0.7324 GB, free: 6.758 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.6106, allocations: 27.55 kB / 0.7325 GB, free: 6.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.6106, allocations: 4 kB / 0.7325 GB, free: 6.727 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6108, allocations: 318.8 kB / 0.7328 GB, free: 6.406 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.611, allocations: 95.92 kB / 0.7329 GB, free: 6.312 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.6112, allocations: 113.6 kB / 0.733 GB, free: 6.195 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.6115, allocations: 99.92 kB / 0.7331 GB, free: 6.098 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6115, allocations: 0 / 0.7331 GB, free: 6.098 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005249/0.612, allocations: 241.4 kB / 0.7333 GB, free: 5.855 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.612, allocations: 8 kB / 0.7333 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.6121, allocations: 0 / 0.7333 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.6121, allocations: 0 / 0.7333 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.6123, allocations: 43.95 kB / 0.7334 GB, free: 5.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.6123, allocations: 3.953 kB / 0.7334 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.6124, allocations: 31.97 kB / 0.7334 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.6124, allocations: 4 kB / 0.7334 GB, free: 5.766 MB / 0.545 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 0.0001083/0.6126, allocations: 137.8 kB / 0.7335 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.6126, allocations: 11.81 kB / 0.7335 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.464e-05/0.6127, allocations: 20.23 kB / 0.7336 GB, free: 5.582 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6127, allocations: 0 / 0.7336 GB, free: 5.582 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.6127, allocations: 4 kB / 0.7336 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6127, allocations: 3.953 kB / 0.7336 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.613, allocations: 229.5 kB / 0.7338 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.613, allocations: 0 / 0.7338 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.6132, allocations: 43.95 kB / 0.7338 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.6132, allocations: 0 / 0.7338 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.6132, allocations: 0 / 0.7338 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.6132, allocations: 0 / 0.7338 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6132, allocations: 4 kB / 0.7338 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005777/0.6138, allocations: 410.5 kB / 0.7342 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.6139, allocations: 93.38 kB / 0.7343 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.6139, allocations: 8 kB / 0.7343 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.6141, allocations: 31.97 kB / 0.7343 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.6141, allocations: 15.92 kB / 0.7344 GB, free: 4.672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.6142, allocations: 0 / 0.7344 GB, free: 4.672 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.967e-05/0.6142, allocations: 129.6 kB / 0.7345 GB, free: 4.547 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6143, allocations: 0 / 0.7345 GB, free: 4.547 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002638/0.6145, allocations: 20 kB / 0.7345 GB, free: 4.527 MB / 0.545 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.0001825/0.6147, allocations: 99.2 kB / 0.7346 GB, free: 4.422 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005357/0.6153, allocations: 207.8 kB / 0.7348 GB, free: 4.219 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6153, allocations: 3.938 kB / 0.7348 GB, free: 4.215 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.6155, allocations: 111.9 kB / 0.7349 GB, free: 4.105 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.6159, allocations: 11.98 kB / 0.7349 GB, free: 4.094 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/0.6164, allocations: 278.3 kB / 0.7352 GB, free: 3.793 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.6168, allocations: 0.716 MB / 0.7359 GB, free: 3.051 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.033e-05/0.6169, allocations: 31.95 kB / 0.7359 GB, free: 3.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.6169, allocations: 11.44 kB / 0.7359 GB, free: 3.008 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.6169, allocations: 0 / 0.7359 GB, free: 3.008 MB / 0.545 GB Notification: Performance of Templates: time 0.003343/0.6203, allocations: 0.9498 MB / 0.7369 GB, free: 2.07 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) Environment - environmentSimulation: