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.007162/0.007162, allocations: 102.7 kB / 15.73 MB, free: 6.039 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.001396/0.001396, allocations: 199.3 kB / 16.68 MB, free: 5.973 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.687/1.687, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.671/1.671, allocations: 251.7 MB / 0.5094 GB, free: 3.059 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.001468/0.001468, allocations: 78.08 kB / 0.7258 GB, free: 8.93 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2745, allocations: 104.7 MB / 0.8281 GB, free: 124 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002815/0.2774, allocations: 1.478 MB / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004084/0.2778, allocations: 148.8 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.598e-05/0.2779, allocations: 4 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.2781, allocations: 59.78 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.273e-05/0.2782, allocations: 31.84 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 7.988e-05/0.2783, allocations: 23.91 kB / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.2784, allocations: 91.73 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.2786, allocations: 23.98 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.605e-05/0.2787, allocations: 39.84 kB / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.2789, allocations: 87.78 kB / 0.83 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.2789, allocations: 8 kB / 0.83 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.106e-05/0.2789, allocations: 8 kB / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.389e-05/0.279, allocations: 35.89 kB / 0.8301 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.759e-05/0.2791, allocations: 43.73 kB / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.2793, allocations: 119.5 kB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2793, allocations: 7.984 kB / 0.8303 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2793, allocations: 4 kB / 0.8303 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.2793, allocations: 3.938 kB / 0.8303 GB, free: 13.9 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.0008391/0.2801, allocations: 454.9 kB / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.2802, allocations: 16.02 kB / 0.8307 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.2802, allocations: 12.75 kB / 0.8307 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.2805, allocations: 209.8 kB / 0.8309 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.2805, allocations: 8.359 kB / 0.8309 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.2805, allocations: 4.375 kB / 0.8309 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/0.281, allocations: 155.8 kB / 0.8311 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.281, allocations: 192 / 0.8311 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.281, allocations: 3.938 kB / 0.8311 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.281, allocations: 4 kB / 0.8311 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005211/0.2815, allocations: 167.8 kB / 0.8313 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008215/0.2824, allocations: 0.4969 MB / 0.8317 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.2828, allocations: 157.1 kB / 0.8319 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.2831, allocations: 97.73 kB / 0.832 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.2831, allocations: 3.938 kB / 0.832 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.2831, allocations: 34.56 kB / 0.832 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.2831, allocations: 0 / 0.832 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.000933/0.2841, allocations: 289.2 kB / 0.8323 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.2841, allocations: 77.11 kB / 0.8324 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.2843, allocations: 160.7 kB / 0.8325 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.2843, allocations: 29.7 kB / 0.8325 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.2844, allocations: 112.1 kB / 0.8327 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.2844, allocations: 31.55 kB / 0.8327 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.2845, allocations: 17.72 kB / 0.8327 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2846, allocations: 326.8 kB / 0.833 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.2849, allocations: 75.92 kB / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.2851, allocations: 93.64 kB / 0.8332 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004753/0.2856, allocations: 173.4 kB / 0.8333 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2856, allocations: 8 kB / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005383/0.2862, allocations: 201.9 kB / 0.8335 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.2862, allocations: 4 kB / 0.8335 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.2862, allocations: 3.984 kB / 0.8335 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.2862, allocations: 0 / 0.8335 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.2864, allocations: 43.89 kB / 0.8336 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2865, allocations: 0 / 0.8336 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.2866, allocations: 27.97 kB / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.2866, allocations: 0 / 0.8336 GB, free: 10.2 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.0001376/0.2868, allocations: 133.8 kB / 0.8337 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.2868, allocations: 11.81 kB / 0.8338 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.635e-05/0.2869, allocations: 20.23 kB / 0.8338 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2869, allocations: 8 kB / 0.8338 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.2869, allocations: 7.938 kB / 0.8338 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2869, allocations: 0 / 0.8338 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.2873, allocations: 229.5 kB / 0.834 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2873, allocations: 0 / 0.834 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.2875, allocations: 35.89 kB / 0.834 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2875, allocations: 4 kB / 0.834 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.2875, allocations: 4 kB / 0.834 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2875, allocations: 0 / 0.834 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2875, allocations: 4 kB / 0.8341 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006328/0.2882, allocations: 382.6 kB / 0.8344 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.2882, allocations: 88.95 kB / 0.8345 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.2883, allocations: 4 kB / 0.8345 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.2885, allocations: 23.97 kB / 0.8345 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.2885, allocations: 7.984 kB / 0.8345 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.2885, allocations: 8 kB / 0.8345 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.506e-05/0.2886, allocations: 117.4 kB / 0.8347 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2886, allocations: 7.938 kB / 0.8347 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002883/0.2889, allocations: 16 kB / 0.8347 GB, free: 9.008 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.0001915/0.2891, allocations: 107.2 kB / 0.8348 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000572/0.2897, allocations: 171.8 kB / 0.8349 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2897, allocations: 3.938 kB / 0.8349 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.29, allocations: 87.92 kB / 0.835 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.2904, allocations: 19.92 kB / 0.8351 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005701/0.291, allocations: 259.1 kB / 0.8353 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.2913, allocations: 0.7157 MB / 0.836 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.416e-05/0.2914, allocations: 31.91 kB / 0.836 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.2914, allocations: 11.44 kB / 0.836 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.2914, allocations: 0 / 0.836 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of Templates: time 0.003659/0.2951, allocations: 1.213 MB / 0.8372 GB, free: 6.348 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)