Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.374/1.374, allocations: 251.9 MB / 266.8 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.001211, allocations: 177.1 kB / 326.5 MB, free: 2.234 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.219/2.219, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 91.8 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 11.97 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2444, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.4436, allocations: 142.8 MB / 1.04 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.4439, allocations: 75.97 kB / 1.04 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04634/0.4902, allocations: 12.48 MB / 1.052 GB, free: 4.238 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.617e-06/0.4903, allocations: 0 / 1.052 GB, free: 4.238 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001374/0.4905, allocations: 16 kB / 1.052 GB, free: 4.223 MB / 0.698 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.004005/0.4945, allocations: 1.077 MB / 1.053 GB, free: 3.086 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.33e-05/0.4946, allocations: 12.02 kB / 1.053 GB, free: 3.074 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003518/0.4949, allocations: 106.5 kB / 1.053 GB, free: 2.961 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004431/0.4954, allocations: 95.31 kB / 1.053 GB, free: 2.867 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.4972, allocations: 499.9 kB / 1.054 GB, free: 2.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.4974, allocations: 61.23 kB / 1.054 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002621/0.4977, allocations: 83.89 kB / 1.054 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/0.4999, allocations: 0.7289 MB / 1.054 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.4999, allocations: 0 / 1.054 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.915e-05/0.5001, allocations: 28 kB / 1.054 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.5001, allocations: 16 kB / 1.054 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/0.5019, allocations: 0.532 MB / 1.055 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4983/1, allocations: 2.529 MB / 1.057 GB, free: 143.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/1.002, allocations: 0.6807 MB / 1.058 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/1.002, allocations: 6.094 kB / 1.058 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00078/1.003, allocations: 417.4 kB / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 3.436e-06/1.003, allocations: 0 / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.002105/1.005, allocations: 0.8955 MB / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/1.005, allocations: 151.8 kB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000597/1.005, allocations: 463.7 kB / 1.06 GB, free: 142.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/1.005, allocations: 46.33 kB / 1.06 GB, free: 142.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/1.006, allocations: 333.5 kB / 1.06 GB, free: 142.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/1.006, allocations: 194.4 kB / 1.061 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/1.006, allocations: 16.75 kB / 1.061 GB, free: 142.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001566/1.006, allocations: 385.2 kB / 1.061 GB, free: 142 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/1.007, allocations: 269.6 kB / 1.061 GB, free: 142 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006067/1.007, allocations: 381.4 kB / 1.062 GB, free: 141.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005955/1.008, allocations: 325.9 kB / 1.062 GB, free: 141.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.008, allocations: 0 / 1.062 GB, free: 141.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001645/1.01, allocations: 0.8742 MB / 1.063 GB, free: 141.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002169/1.01, allocations: 0.6521 MB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/1.01, allocations: 2.781 kB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/1.01, allocations: 7.406 kB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/1.011, allocations: 120.8 kB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/1.011, allocations: 10.3 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006641/1.011, allocations: 129.7 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-05/1.011, allocations: 28.66 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.457e-06/1.011, allocations: 6.5 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001488/1.013, allocations: 0.7657 MB / 1.064 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.013, allocations: 2.906 kB / 1.064 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/1.013, allocations: 3.031 kB / 1.064 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004322/1.013, allocations: 108.6 kB / 1.065 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/1.013, allocations: 3.562 kB / 1.065 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005465/1.014, allocations: 116 kB / 1.065 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/1.014, allocations: 29.69 kB / 1.065 GB, free: 141 MB / 0.698 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 () * Number of clocked 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.0005839/1.015, allocations: 289.4 kB / 1.065 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/1.015, allocations: 77.17 kB / 1.065 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/1.015, allocations: 77.17 kB / 1.065 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/1.015, allocations: 5.906 kB / 1.065 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.018e-05/1.015, allocations: 0.7969 kB / 1.065 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/1.015, allocations: 5.172 kB / 1.065 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/1.018, allocations: 1.393 MB / 1.066 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.018, allocations: 0.875 kB / 1.066 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005901/1.018, allocations: 104.6 kB / 1.067 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/1.018, allocations: 3 kB / 1.067 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.017e-05/1.019, allocations: 18.23 kB / 1.067 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.219e-05/1.019, allocations: 11.22 kB / 1.067 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.019, allocations: 1.312 kB / 1.067 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/1.021, allocations: 1.145 MB / 1.068 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/1.021, allocations: 144.5 kB / 1.068 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/1.022, allocations: 22.42 kB / 1.068 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/1.022, allocations: 65.62 kB / 1.068 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/1.022, allocations: 59.17 kB / 1.068 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/1.022, allocations: 21.94 kB / 1.068 GB, free: 140 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006308/1.023, allocations: 359.6 kB / 1.068 GB, free: 139.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.312e-06/1.023, allocations: 0 / 1.068 GB, free: 139.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00116/1.024, allocations: 288.2 kB / 1.069 GB, free: 139.9 MB / 0.698 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) * Number of clocked states: 0 () * 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.00292/1.027, allocations: 1.944 MB / 1.071 GB, free: 138.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002894/1.03, allocations: 1.312 MB / 1.072 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.03, allocations: 4.875 kB / 1.072 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008281/1.031, allocations: 329.5 kB / 1.072 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007794/1.032, allocations: 125.2 kB / 1.072 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007813/1.039, allocations: 4.978 MB / 1.077 GB, free: 136.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/1.04, allocations: 0.9345 MB / 1.078 GB, free: 135.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005097/1.041, allocations: 85.94 kB / 1.078 GB, free: 135.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000403/1.041, allocations: 261.6 kB / 1.078 GB, free: 135.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/1.041, allocations: 2.625 kB / 1.078 GB, free: 135.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/1.076, allocations: 13.48 MB / 1.092 GB, free: 134.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/1.076, allocations: 220.4 kB / 1.092 GB, free: 134 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.417/3.493, allocations: 0 / 1.092 GB, free: 134 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling_fmu --startTime=0 --stopTime=2.4192e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)