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.452/5.452, allocations: 0.5623 GB / 0.5776 GB, free: 3.32 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.0026/0.0026, allocations: 355.8 kB / 0.6447 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.277/4.277, allocations: 410.7 MB / 1.113 GB, free: 5.891 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.001823/0.001823, allocations: 172.3 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004898, allocations: 12 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7932/0.7937, 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.0009984/0.7947, allocations: 484.5 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.7958, allocations: 0.8181 MB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.7958, allocations: 4 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.796, allocations: 51.84 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.956e-05/0.7961, allocations: 37.42 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 7.161e-05/0.7962, allocations: 15.97 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.7963, allocations: 79.7 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.7965, allocations: 14.77 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.087e-05/0.7965, allocations: 39.84 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.7967, allocations: 67.84 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.7967, allocations: 5.125 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.954e-05/0.7968, allocations: 4 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.7968, allocations: 31.89 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.7969, allocations: 40.39 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.797, allocations: 79.83 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.797, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.174e-06/0.797, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.797, allocations: 0 / 1.463 GB, free: 282.6 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.000953/0.798, allocations: 464.2 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.798, allocations: 16.44 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.7981, allocations: 11.81 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.7983, allocations: 206.3 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.7983, allocations: 0.7812 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.7984, allocations: 9.031 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006082/0.799, allocations: 163.9 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.799, allocations: 4 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.7991, allocations: 4.5 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.7991, allocations: 7.5 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009131/0.8, allocations: 200.6 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.8011, allocations: 0.5213 MB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006359/0.8018, allocations: 177.4 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000457/0.8022, allocations: 117 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.8023, allocations: 0.625 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.8023, allocations: 35.44 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.505e-06/0.8023, allocations: 5.031 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.001478/0.8038, allocations: 326.9 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.8039, allocations: 85.94 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.804, allocations: 162.2 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.804, allocations: 30.33 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.8041, allocations: 104.7 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.8042, allocations: 23.66 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.8042, allocations: 5.188 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.8043, allocations: 322.8 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.8047, allocations: 90.92 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/0.8052, allocations: 113.8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.8056, allocations: 101.8 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.8057, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009448/0.8066, allocations: 237.9 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.8067, allocations: 8.719 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.8067, allocations: 4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.8067, allocations: 1.312 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.8071, allocations: 42.7 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.8071, allocations: 4 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.8074, allocations: 36.56 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.8074, allocations: 0 / 1.467 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 0.0001144/0.8075, allocations: 131 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.068e-05/0.8076, allocations: 7.906 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.8076, allocations: 22.3 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.8077, allocations: 3.938 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.8077, allocations: 0.9688 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.8077, allocations: 96.84 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.8078, allocations: 7.953 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.8081, allocations: 29.94 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.8082, allocations: 8.734 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001224/0.8094, allocations: 426 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009839/0.8104, allocations: 488.9 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004691/0.8109, allocations: 104.4 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001013/0.811, allocations: 126.7 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of Backend: time 8.21e-07/0.811, allocations: 1.156 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009485/0.812, allocations: 183.4 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0006624/0.8127, allocations: 0.6811 MB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.004874/0.8175, allocations: 1.324 MB / 1.47 GB, free: 275.2 MB / 0.8542 GB