Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.347/2.347, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 194.8 kB / 499.1 MB, free: 4.637 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 101.9 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 52.16 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3019, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001961/0.3039, allocations: 0.8288 MB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008087/0.3048, allocations: 0.8234 MB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.3048, allocations: 0 / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.305, allocations: 55.84 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.397e-05/0.3051, allocations: 27.84 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 6.637e-05/0.3052, allocations: 19.97 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.3053, allocations: 83.77 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.3054, allocations: 27.97 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.426e-05/0.3055, allocations: 35.84 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.3056, allocations: 79.73 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.3057, allocations: 7.984 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.92e-05/0.3057, allocations: 4 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.211e-05/0.3058, allocations: 39.89 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.3058, allocations: 39.73 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.3059, allocations: 111.6 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.738e-06/0.3059, allocations: 4 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3059, allocations: 0 / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.3059, allocations: 0 / 1.22 GB, free: 115 MB / 0.823 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.000627/0.3066, allocations: 469.7 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3066, allocations: 15.98 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.3067, allocations: 8.844 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.3068, allocations: 201 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3068, allocations: 8.359 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.3069, allocations: 4.375 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.3072, allocations: 151.8 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3072, allocations: 192 / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.3072, allocations: 7.938 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3073, allocations: 0 / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000446/0.3077, allocations: 163.8 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006704/0.3084, allocations: 0.5124 MB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.3087, allocations: 161.1 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.3089, allocations: 97.67 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.309, allocations: 7.938 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.309, allocations: 34.56 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.309, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0007436/0.3097, allocations: 285.3 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.3098, allocations: 81.11 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.482e-05/0.3099, allocations: 162.9 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.3099, allocations: 25.7 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.3099, allocations: 104 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.31, allocations: 27.64 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.31, allocations: 25.66 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.578e-05/0.3101, allocations: 330.8 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.3103, allocations: 79.92 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.3105, allocations: 89.64 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004304/0.3109, allocations: 177.5 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.311, allocations: 4 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004568/0.3114, allocations: 213.8 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3114, allocations: 4 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3114, allocations: 0 / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3115, allocations: 7.938 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.3117, allocations: 31.95 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3117, allocations: 4 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.3118, allocations: 19.97 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-06/0.3118, allocations: 12 kB / 1.224 GB, free: 111.3 MB / 0.823 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 6.918e-05/0.3119, allocations: 126.4 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.3119, allocations: 11.91 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.312, allocations: 24.23 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.312, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.312, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.312, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.3122, allocations: 229.4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3122, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.3124, allocations: 43.89 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3124, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.3124, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3124, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3124, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008396/0.3133, allocations: 1.043 MB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.3133, allocations: 88.95 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.3133, allocations: 0 / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.3135, allocations: 27.97 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.3136, allocations: 15.92 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.3136, allocations: 0 / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.751e-05/0.3136, allocations: 127.2 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3136, allocations: 0 / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000335/0.314, allocations: 19.91 kB / 1.225 GB, free: 109.4 MB / 0.823 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.0001686/0.3142, allocations: 95.25 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005017/0.3147, allocations: 175.8 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3147, allocations: 0 / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.3149, allocations: 99.84 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.3153, allocations: 20.02 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005412/0.3158, allocations: 407.8 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.316, allocations: 0.7082 MB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 7.827e-05/0.3161, allocations: 31.91 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.3162, allocations: 15.38 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.21e-07/0.3162, allocations: 4 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of Templates: time 0.003178/0.3194, allocations: 1.025 MB / 1.228 GB, free: 106.8 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)