Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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.MatrixMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.378/2.378, allocations: 391.2 MB / 407 MB, free: 10.83 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.001534/0.001534, allocations: 191.4 kB / 499.1 MB, free: 4.629 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.643/1.643, allocations: 222.9 MB / 0.7948 GB, free: 15.76 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.001078/0.001078, allocations: 111.6 kB / 0.9329 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001065, allocations: 50.53 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3553, 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.MatrixMin): time 0.002091/0.3575, allocations: 0.8016 MB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0002215/0.3577, allocations: 55.83 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.3578, allocations: 3.938 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.358, allocations: 15.92 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.722e-05/0.358, allocations: 15.91 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.3582, allocations: 31.72 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.3583, allocations: 111.8 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.3586, allocations: 152.4 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.137e-05/0.3586, allocations: 59.73 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.652e-05/0.3587, allocations: 71.62 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.3588, allocations: 12 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 2.243e-05/0.3588, allocations: 8 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.958e-05/0.3589, allocations: 47.78 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.3589, allocations: 83.42 kB / 1.22 GB, free: 115.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.3591, allocations: 211.3 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3591, allocations: 3.938 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3591, allocations: 8 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.3592, allocations: 0 / 1.22 GB, free: 115.5 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000482/0.3596, allocations: 0.4906 MB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3597, allocations: 15.98 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.3597, allocations: 24.66 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.36, allocations: 249.1 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.36, allocations: 16.75 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.3601, allocations: 16.38 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.3604, allocations: 348.9 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3605, allocations: 3.938 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.3605, allocations: 8 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.3605, allocations: 23.86 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002562/0.3608, allocations: 263.8 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009556/0.3617, allocations: 1.092 MB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.785e-05/0.3618, allocations: 169.1 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.3618, allocations: 80.14 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.3619, allocations: 75.28 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.3619, allocations: 114 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.183e-06/0.3619, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 9.857e-05/0.362, allocations: 53.36 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.3621, allocations: 126.7 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004313/0.3625, allocations: 0.5004 MB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.682e-06/0.3625, allocations: 25.7 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.3626, allocations: 167.7 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-06/0.3626, allocations: 4 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.3627, allocations: 33.7 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.3627, allocations: 338.8 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.264e-05/0.3628, allocations: 51.95 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.009e-05/0.3629, allocations: 102.8 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.363, allocations: 118.8 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.363, allocations: 4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002517/0.3633, allocations: 189.1 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3633, allocations: 11.94 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3633, allocations: 3.938 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3633, allocations: 8 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.862e-05/0.3634, allocations: 23.92 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.3635, allocations: 0 / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.902e-05/0.3635, allocations: 43.83 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.3636, allocations: 8 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0001222/0.3637, allocations: 249.7 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.441e-05/0.3638, allocations: 132.6 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.119e-05/0.3638, allocations: 134.8 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.282e-05/0.3639, allocations: 180.2 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.598e-05/0.3639, allocations: 184.2 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.132e-05/0.3639, allocations: 180.3 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.3641, allocations: 0.4892 MB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.125e-05/0.3642, allocations: 101 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/0.3642, allocations: 101 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.079e-05/0.3642, allocations: 184.1 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.3643, allocations: 189 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-05/0.3643, allocations: 180.2 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.167e-05/0.3643, allocations: 180.3 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.3646, allocations: 0.9189 MB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.3647, allocations: 218.1 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.3648, allocations: 176.3 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.057e-05/0.3649, allocations: 113 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.3649, allocations: 176.3 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.3649, allocations: 108.9 kB / 1.228 GB, free: 106.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002691/0.3652, allocations: 371 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3652, allocations: 0 / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003484/0.3656, allocations: 28 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001595/0.3657, allocations: 170.5 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.3659, allocations: 71.83 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3659, allocations: 0.5 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.3659, allocations: 4 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.3664, allocations: 0.5434 MB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.3669, allocations: 0.5203 MB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.3672, allocations: 0.783 MB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 7.954e-05/0.3673, allocations: 49.52 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.3673, allocations: 15.44 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of SimCode: time 5.31e-07/0.3673, allocations: 0 / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of Templates: time 0.00381/0.3712, allocations: 1.72 MB / 1.233 GB, free: 101.8 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1)