Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.009381/0.009381, allocations: 170.2 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.831/2.831, allocations: 473.4 MB / 0.7469 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003867, allocations: 17.34 kB / 0.9158 GB, free: 32.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3816, allocations: 162.2 MB / 1.074 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.00113/0.3828, allocations: 0.4945 MB / 1.075 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009314/0.3837, allocations: 0.8196 MB / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.036e-05/0.3838, allocations: 3.938 kB / 1.075 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.384, allocations: 63.84 kB / 1.075 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.354e-05/0.3841, allocations: 27.84 kB / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.36e-05/0.3841, allocations: 23.97 kB / 1.076 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.3843, allocations: 79.81 kB / 1.076 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.3844, allocations: 19.98 kB / 1.076 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.785e-05/0.3845, allocations: 39.78 kB / 1.076 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.3847, allocations: 79.78 kB / 1.076 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.3847, allocations: 4 kB / 1.076 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.487e-05/0.3847, allocations: 7.938 kB / 1.076 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.056e-05/0.3848, allocations: 31.91 kB / 1.076 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.385, allocations: 65.42 kB / 1.076 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.3851, allocations: 107.6 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3851, allocations: 0 / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3851, allocations: 0 / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3851, allocations: 0 / 1.076 GB, free: 5.617 MB / 0.8262 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.0007538/0.3859, allocations: 463.4 kB / 1.076 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3859, allocations: 8.031 kB / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.386, allocations: 16.75 kB / 1.076 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.3862, allocations: 204.7 kB / 1.077 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.3862, allocations: 4.375 kB / 1.077 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.3862, allocations: 8.375 kB / 1.077 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.3867, allocations: 171.7 kB / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3867, allocations: 192 / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.3867, allocations: 7.938 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3867, allocations: 0 / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005661/0.3873, allocations: 203.8 kB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008907/0.3882, allocations: 0.5203 MB / 1.078 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.3886, allocations: 185.1 kB / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.389, allocations: 113.7 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.389, allocations: 0 / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.389, allocations: 30.56 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.389, allocations: 0 / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0009722/0.39, allocations: 341.3 kB / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.3901, allocations: 77.11 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.3902, allocations: 160.7 kB / 1.078 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3902, allocations: 25.7 kB / 1.078 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.3903, allocations: 104 kB / 1.078 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.3904, allocations: 23.66 kB / 1.079 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.3904, allocations: 21.7 kB / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3906, allocations: 326.8 kB / 1.079 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.3908, allocations: 91.92 kB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.3911, allocations: 109.6 kB / 1.079 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005433/0.3917, allocations: 213.9 kB / 1.079 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.3917, allocations: 0 / 1.079 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005861/0.3923, allocations: 241.3 kB / 1.079 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3923, allocations: 5.25 kB / 1.079 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3923, allocations: 8 kB / 1.079 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3924, allocations: 3.984 kB / 1.079 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.3926, allocations: 35.97 kB / 1.08 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3926, allocations: 4 kB / 1.08 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.3928, allocations: 47.83 kB / 1.08 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.3928, allocations: 3.938 kB / 1.08 GB, free: 1.645 MB / 0.8262 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.0001241/0.3929, allocations: 133.8 kB / 1.08 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.393, allocations: 7.906 kB / 1.08 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.783e-05/0.393, allocations: 20.25 kB / 1.08 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.393, allocations: 0 / 1.08 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.393, allocations: 0 / 1.08 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3931, allocations: 3.984 kB / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.3934, allocations: 233.4 kB / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3934, allocations: 3.938 kB / 1.08 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.3936, allocations: 35.97 kB / 1.08 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.594e-05/0.3936, allocations: 7.984 kB / 1.08 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3936, allocations: 4 kB / 1.08 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3936, allocations: 0 / 1.08 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3936, allocations: 0 / 1.08 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006565/0.3943, allocations: 410.5 kB / 1.08 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.3943, allocations: 85.02 kB / 1.08 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.3944, allocations: 0 / 1.08 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.3946, allocations: 43.89 kB / 1.081 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.3946, allocations: 7.984 kB / 1.081 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.3946, allocations: 4 kB / 1.081 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.524e-05/0.3947, allocations: 121.9 kB / 1.081 GB, free: 456 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3947, allocations: 4 kB / 1.081 GB, free: 452 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002795/0.395, allocations: 16 kB / 1.081 GB, free: 436 kB / 0.8262 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.0001644/0.3952, allocations: 105.6 kB / 1.081 GB, free: 324 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005863/0.3958, allocations: 207.7 kB / 1.081 GB, free: 116 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3958, allocations: 0 / 1.081 GB, free: 116 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.3961, allocations: 107.9 kB / 1.081 GB, free: 8 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.3965, allocations: 8 kB / 1.081 GB, free: 0 / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005674/0.397, allocations: 298.1 kB / 1.081 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.3974, allocations: 0.7121 MB / 1.082 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.091e-05/0.3975, allocations: 27.97 kB / 1.082 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.3975, allocations: 11.44 kB / 1.082 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3975, allocations: 0 / 1.082 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of Templates: time 0.003517/0.401, allocations: 0.9817 MB / 1.083 GB, free: 13.93 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1)