Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.2/2.2, allocations: 248.7 MB / 256.2 MB, free: 7.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001475, allocations: 172.9 kB / 315.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.093/2.093, allocations: 205.3 MB / 0.5662 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001097, allocations: 82.55 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.352e-05/2.368e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2114, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9059/1.117, allocations: 142.8 MB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/1.118, allocations: 73.86 kB / 1.024 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05235/1.17, allocations: 12.38 MB / 1.036 GB, free: 2.121 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.813e-06/1.17, allocations: 0 / 1.036 GB, free: 2.121 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.51e-05/1.17, allocations: 16 kB / 1.036 GB, free: 2.105 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002765/1.173, allocations: 0.9793 MB / 1.037 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/1.173, allocations: 11.97 kB / 1.037 GB, free: 1.113 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003051/1.173, allocations: 106.3 kB / 1.037 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/1.175, allocations: 483.1 kB / 1.037 GB, free: 0.5664 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.264e-05/1.175, allocations: 35.73 kB / 1.037 GB, free: 0.5352 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/1.175, allocations: 48 kB / 1.037 GB, free: 500 kB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00114/1.176, allocations: 373.3 kB / 1.038 GB, free: 268 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/1.178, allocations: 0.5823 MB / 1.038 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/1.178, allocations: 0 / 1.038 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.152e-05/1.178, allocations: 7.984 kB / 1.038 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/1.178, allocations: 19.94 kB / 1.038 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005113/1.183, allocations: 2.41 MB / 1.041 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/1.184, allocations: 0.5114 MB / 1.041 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005594/1.185, allocations: 236.1 kB / 1.041 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.958e-05/1.185, allocations: 4.562 kB / 1.041 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007905/1.186, allocations: 351.8 kB / 1.042 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=62): time 4.248e-06/1.186, allocations: 4 kB / 1.042 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62): time 0.001524/1.187, allocations: 0.5098 MB / 1.042 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.74e-05/1.187, allocations: 148.2 kB / 1.042 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006783/1.188, allocations: 389.5 kB / 1.043 GB, free: 12 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/1.188, allocations: 33.7 kB / 1.043 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003429/1.189, allocations: 336.2 kB / 1.043 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/1.189, allocations: 191.1 kB / 1.043 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/1.189, allocations: 7 kB / 1.043 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001903/1.189, allocations: 372.5 kB / 1.044 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005651/1.19, allocations: 202.2 kB / 1.044 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/1.19, allocations: 302.5 kB / 1.044 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007153/1.191, allocations: 211.2 kB / 1.044 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/1.191, allocations: 0 / 1.044 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001908/1.193, allocations: 0.6656 MB / 1.045 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003457/1.193, allocations: 0.6686 MB / 1.046 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.193, allocations: 0 / 1.046 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/1.193, allocations: 4 kB / 1.046 GB, free: 9.504 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009734/1.194, allocations: 122.8 kB / 1.046 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/1.194, allocations: 4 kB / 1.046 GB, free: 9.383 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/1.196, allocations: 111.5 kB / 1.046 GB, free: 9.273 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.164e-05/1.196, allocations: 30.61 kB / 1.046 GB, free: 9.25 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/1.196, allocations: 4 kB / 1.046 GB, free: 9.246 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001767/1.197, allocations: 0.5982 MB / 1.046 GB, free: 8.816 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.198, allocations: 4 kB / 1.046 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/1.198, allocations: 4 kB / 1.046 GB, free: 8.809 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008278/1.198, allocations: 105.7 kB / 1.047 GB, free: 8.711 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/1.198, allocations: 8 kB / 1.047 GB, free: 8.703 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009744/1.199, allocations: 95.47 kB / 1.047 GB, free: 8.609 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.659e-05/1.199, allocations: 34.05 kB / 1.047 GB, free: 8.582 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.optSta.hysSta.y,optSta.hysSta.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.nexStaInd,occSch.nexStaInd,$PRE.occSch.nexStoInd,occSch.nexStoInd,$PRE.occSch.iPerSta,occSch.iPerSta,$PRE.occSch.iPerSto,occSch.iPerSto,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,booToRea1.u,conPID.I.trigger_internal,conPID1.I.trigger_internal,TRoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002956/1.2, allocations: 132.8 kB / 1.047 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001331/1.201, allocations: 0.5139 MB / 1.047 GB, free: 8.051 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/1.201, allocations: 63.25 kB / 1.047 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/1.202, allocations: 65.56 kB / 1.047 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/1.202, allocations: 15.89 kB / 1.047 GB, free: 7.938 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.202, allocations: 32 / 1.047 GB, free: 7.938 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/1.202, allocations: 7.984 kB / 1.047 GB, free: 7.93 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/1.204, allocations: 1.143 MB / 1.049 GB, free: 7.004 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.669e-06/1.204, allocations: 4 kB / 1.049 GB, free: 7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009145/1.205, allocations: 102.8 kB / 1.049 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/1.205, allocations: 4 kB / 1.049 GB, free: 6.898 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-05/1.205, allocations: 15.75 kB / 1.049 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/1.205, allocations: 7.938 kB / 1.049 GB, free: 6.879 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.205, allocations: 3.984 kB / 1.049 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/1.207, allocations: 0.9143 MB / 1.05 GB, free: 6.16 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/1.207, allocations: 139.9 kB / 1.05 GB, free: 6.008 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/1.207, allocations: 15.38 kB / 1.05 GB, free: 5.996 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007146/1.208, allocations: 47.95 kB / 1.05 GB, free: 5.949 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/1.208, allocations: 59.41 kB / 1.05 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.189e-05/1.208, allocations: 27.67 kB / 1.05 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004805/1.209, allocations: 285.5 kB / 1.05 GB, free: 5.668 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.51e-07/1.209, allocations: 0 / 1.05 GB, free: 5.668 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001141/1.21, allocations: 251 kB / 1.05 GB, free: 5.422 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 15 ($whenCondition3,$whenCondition1,$whenCondition2,optSta.hysSta.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.nexStaInd,occSch.nexStoInd,occSch.iPerSta,occSch.iPerSto,occSch.tOcc,occSch.tNonOcc,pul.T_start,pul.count) * Number of discrete states: 10 (pul.count,occSch.tNonOcc,occSch.tOcc,occSch.iPerSto,occSch.nexStoInd,occSch.occupied,occSch.nexStaInd,occSch.iPerSta,optSta.hysSta.y,optSta.falEdg.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00259/1.213, allocations: 1.719 MB / 1.052 GB, free: 3.91 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00247/1.215, allocations: 1.123 MB / 1.053 GB, free: 3.164 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/1.215, allocations: 0 / 1.053 GB, free: 3.164 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006542/1.216, allocations: 255.8 kB / 1.053 GB, free: 2.996 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/1.217, allocations: 111.3 kB / 1.053 GB, free: 2.906 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/1.22, allocations: 0.9563 MB / 1.054 GB, free: 2.016 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/1.221, allocations: 0.9382 MB / 1.055 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008174/1.221, allocations: 102.9 kB / 1.055 GB, free: 0.9531 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004665/1.222, allocations: 254 kB / 1.056 GB, free: 0.8906 MB / 0.6667 GB Notification: Performance of SimCode: time 1.052e-06/1.222, allocations: 4 kB / 1.056 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06254/1.284, allocations: 13.06 MB / 1.068 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002871/1.285, allocations: 168.1 kB / 1.069 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.924/4.209, allocations: 3.094 kB / 1.069 GB, free: 3.73 MB / 0.6823 GB