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.007382/0.007388, allocations: 103.9 kB / 15.73 MB, free: 6.473 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.001212/0.001212, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.768/1.768, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.673/1.673, allocations: 251.7 MB / 0.5094 GB, free: 3.102 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.001439/0.001439, allocations: 71.91 kB / 0.7258 GB, free: 9.086 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.31, allocations: 104.7 MB / 0.8281 GB, free: 284 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002923/0.3129, allocations: 1.486 MB / 0.8296 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005233/0.3135, allocations: 148.7 kB / 0.8297 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.566e-05/0.3136, allocations: 4 kB / 0.8297 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.3138, allocations: 63.73 kB / 0.8298 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.868e-05/0.3139, allocations: 35.83 kB / 0.8298 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 8.604e-05/0.314, allocations: 23.97 kB / 0.8298 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000156/0.3141, allocations: 87.75 kB / 0.8299 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.3143, allocations: 16 kB / 0.8299 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.496e-05/0.3144, allocations: 47.81 kB / 0.83 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.3146, allocations: 79.8 kB / 0.83 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.3146, allocations: 8 kB / 0.83 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.84e-05/0.3147, allocations: 8 kB / 0.8301 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.735e-05/0.3147, allocations: 43.88 kB / 0.8301 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.448e-05/0.3148, allocations: 47.73 kB / 0.8301 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.315, allocations: 115.5 kB / 0.8303 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.315, allocations: 0 / 0.8303 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.004e-06/0.315, allocations: 0 / 0.8303 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.315, allocations: 0 / 0.8303 GB, free: 14.06 MB / 0.6544 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.0008773/0.3159, allocations: 470.8 kB / 0.8307 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.316, allocations: 15.97 kB / 0.8307 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.316, allocations: 16.69 kB / 0.8307 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.3163, allocations: 201 kB / 0.8309 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.3163, allocations: 384 / 0.8309 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.3163, allocations: 8.375 kB / 0.8309 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.3167, allocations: 147.9 kB / 0.8311 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3167, allocations: 192 / 0.8311 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.3168, allocations: 11.94 kB / 0.8311 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3168, allocations: 3.938 kB / 0.8311 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/0.3173, allocations: 171.8 kB / 0.8313 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008117/0.3181, allocations: 0.493 MB / 0.8317 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.3185, allocations: 165.1 kB / 0.8319 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.3187, allocations: 93.73 kB / 0.832 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.3187, allocations: 0 / 0.832 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.3188, allocations: 42.5 kB / 0.832 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.3188, allocations: 0 / 0.832 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0008729/0.3197, allocations: 289.6 kB / 0.8323 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.3197, allocations: 81.05 kB / 0.8324 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.3199, allocations: 161.3 kB / 0.8325 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.3199, allocations: 29.7 kB / 0.8326 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.3201, allocations: 108.1 kB / 0.8327 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.3201, allocations: 31.55 kB / 0.8327 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.3202, allocations: 17.72 kB / 0.8327 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3203, allocations: 330.8 kB / 0.833 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.3205, allocations: 79.86 kB / 0.8331 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.3208, allocations: 89.64 kB / 0.8332 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.3212, allocations: 169.6 kB / 0.8333 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3212, allocations: 3.938 kB / 0.8334 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004832/0.3217, allocations: 213.4 kB / 0.8336 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.3217, allocations: 4 kB / 0.8336 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3217, allocations: 0 / 0.8336 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.3217, allocations: 0 / 0.8336 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.3219, allocations: 39.89 kB / 0.8336 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3219, allocations: 0 / 0.8336 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.3221, allocations: 27.97 kB / 0.8336 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3221, allocations: 4 kB / 0.8336 GB, free: 10.34 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.3222, allocations: 129.8 kB / 0.8337 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.3223, allocations: 15.81 kB / 0.8338 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.3223, allocations: 20.23 kB / 0.8338 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.3223, allocations: 4 kB / 0.8338 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3223, allocations: 0 / 0.8338 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3223, allocations: 0 / 0.8338 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.3226, allocations: 221.5 kB / 0.834 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3226, allocations: 7.938 kB / 0.834 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.3228, allocations: 35.95 kB / 0.834 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3228, allocations: 0 / 0.834 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3228, allocations: 4 kB / 0.834 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3228, allocations: 0 / 0.834 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3229, allocations: 3.938 kB / 0.834 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006462/0.3235, allocations: 386.4 kB / 0.8344 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.508e-05/0.3236, allocations: 92.94 kB / 0.8345 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.3236, allocations: 0 / 0.8345 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.3238, allocations: 23.97 kB / 0.8345 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.3239, allocations: 7.984 kB / 0.8345 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.3239, allocations: 8 kB / 0.8345 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.792e-05/0.324, allocations: 121.4 kB / 0.8347 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.324, allocations: 0 / 0.8347 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002686/0.3243, allocations: 20 kB / 0.8347 GB, free: 9.16 MB / 0.6544 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 (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.0002241/0.3245, allocations: 107.2 kB / 0.8348 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005186/0.325, allocations: 176 kB / 0.8349 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.325, allocations: 3.938 kB / 0.835 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.3253, allocations: 91.94 kB / 0.835 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.3257, allocations: 15.98 kB / 0.8351 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005785/0.3263, allocations: 251.2 kB / 0.8353 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.3266, allocations: 0.7117 MB / 0.836 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.356e-05/0.3267, allocations: 27.91 kB / 0.836 GB, free: 7.723 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.83e-05/0.3268, allocations: 15.44 kB / 0.836 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.3268, allocations: 8 kB / 0.836 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of Templates: time 0.004237/0.331, allocations: 1.216 MB / 0.8372 GB, free: 6.496 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (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)