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.55/1.55, allocations: 249.3 MB / 261.8 MB, free: 5.93 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.00105/0.001049, allocations: 176.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0008907/0.0008906, allocations: 98.41 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.541e-05/4.542e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2627, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8775/1.14, allocations: 142.7 MB / 1.031 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/1.141, allocations: 67.84 kB / 1.031 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03472/1.175, allocations: 12.46 MB / 1.043 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.475e-06/1.175, allocations: 0 / 1.043 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.702e-05/1.176, allocations: 16 kB / 1.043 GB, free: 13.62 MB / 0.6667 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.001807/1.177, allocations: 0.9793 MB / 1.044 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.177, allocations: 8.031 kB / 1.044 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/1.178, allocations: 112.1 kB / 1.045 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/1.178, allocations: 99.22 kB / 1.045 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008503/1.179, allocations: 490.8 kB / 1.045 GB, free: 12 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.567e-05/1.179, allocations: 57.42 kB / 1.045 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/1.179, allocations: 73.06 kB / 1.045 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/1.18, allocations: 0.6705 MB / 1.046 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/1.18, allocations: 0 / 1.046 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/1.18, allocations: 24.69 kB / 1.046 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/1.18, allocations: 16 kB / 1.046 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007774/1.181, allocations: 426.9 kB / 1.046 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/1.184, allocations: 2.547 MB / 1.049 GB, free: 8.895 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009741/1.185, allocations: 0.5437 MB / 1.049 GB, free: 8.516 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/1.186, allocations: 249.1 kB / 1.05 GB, free: 8.355 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.314e-05/1.186, allocations: 24.48 kB / 1.05 GB, free: 8.332 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005749/1.186, allocations: 354.7 kB / 1.05 GB, free: 8.062 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=62): time 3.126e-06/1.186, allocations: 0 / 1.05 GB, free: 8.062 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62): time 0.001035/1.187, allocations: 0.5562 MB / 1.05 GB, free: 7.625 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.552e-05/1.187, allocations: 144.6 kB / 1.051 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005341/1.188, allocations: 457 kB / 1.051 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/1.188, allocations: 48.02 kB / 1.051 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/1.188, allocations: 338.7 kB / 1.051 GB, free: 6.844 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/1.188, allocations: 194.8 kB / 1.052 GB, free: 6.68 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/1.188, allocations: 13.81 kB / 1.052 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.189, allocations: 381.9 kB / 1.052 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/1.189, allocations: 211.2 kB / 1.052 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/1.189, allocations: 328.2 kB / 1.053 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/1.19, allocations: 263.9 kB / 1.053 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.19, allocations: 0 / 1.053 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001252/1.191, allocations: 0.7579 MB / 1.054 GB, free: 5.148 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003524/1.192, allocations: 0.6575 MB / 1.054 GB, free: 4.453 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.192, allocations: 11.92 kB / 1.054 GB, free: 4.441 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/1.192, allocations: 4 kB / 1.054 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005614/1.192, allocations: 123.6 kB / 1.054 GB, free: 4.324 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/1.192, allocations: 4 kB / 1.054 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006122/1.193, allocations: 119.1 kB / 1.054 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/1.193, allocations: 35.11 kB / 1.054 GB, free: 4.184 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/1.193, allocations: 4 kB / 1.054 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001163/1.194, allocations: 0.7012 MB / 1.055 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.185e-06/1.194, allocations: 0 / 1.055 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/1.194, allocations: 8 kB / 1.055 GB, free: 3.668 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/1.195, allocations: 107.7 kB / 1.055 GB, free: 3.566 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/1.195, allocations: 16.06 kB / 1.055 GB, free: 3.551 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/1.195, allocations: 112.8 kB / 1.055 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/1.195, allocations: 26 kB / 1.055 GB, free: 3.43 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.0002275/1.195, allocations: 161.7 kB / 1.056 GB, free: 3.289 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/1.196, allocations: 67.16 kB / 1.056 GB, free: 3.223 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/1.196, allocations: 81.78 kB / 1.056 GB, free: 3.184 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/1.196, allocations: 4 kB / 1.056 GB, free: 3.18 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/1.196, allocations: 7.953 kB / 1.056 GB, free: 3.172 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-06/1.196, allocations: 3.984 kB / 1.056 GB, free: 3.168 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/1.198, allocations: 1.275 MB / 1.057 GB, free: 2.137 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.198, allocations: 3.938 kB / 1.057 GB, free: 2.133 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004686/1.198, allocations: 111.5 kB / 1.057 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/1.198, allocations: 4 kB / 1.057 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/1.198, allocations: 19.5 kB / 1.057 GB, free: 2.012 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.198, allocations: 8 kB / 1.057 GB, free: 2.004 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.198, allocations: 0 / 1.057 GB, free: 2.004 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/1.2, allocations: 0.9763 MB / 1.058 GB, free: 1.238 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/1.2, allocations: 140.2 kB / 1.058 GB, free: 1.086 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/1.2, allocations: 26.38 kB / 1.058 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/1.2, allocations: 59.44 kB / 1.058 GB, free: 1.023 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/1.2, allocations: 58.98 kB / 1.058 GB, free: 0.9727 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.866e-05/1.2, allocations: 30.59 kB / 1.058 GB, free: 0.9492 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004543/1.201, allocations: 345.6 kB / 1.059 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.4e-07/1.201, allocations: 0 / 1.059 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008828/1.202, allocations: 283.1 kB / 1.059 GB, free: 452 kB / 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.001948/1.204, allocations: 1.778 MB / 1.061 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001844/1.206, allocations: 1.186 MB / 1.062 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.206, allocations: 0 / 1.062 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000444/1.206, allocations: 275.7 kB / 1.062 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006959/1.207, allocations: 116.7 kB / 1.062 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/1.209, allocations: 1.01 MB / 1.063 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/1.209, allocations: 0.9356 MB / 1.064 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005191/1.21, allocations: 115.2 kB / 1.064 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/1.21, allocations: 257.2 kB / 1.064 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of SimCode: time 1.302e-06/1.21, allocations: 8 kB / 1.064 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/1.245, allocations: 14.39 MB / 1.079 GB, free: 13.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/1.245, allocations: 186.1 kB / 1.079 GB, free: 13.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/3.69, allocations: 0 / 1.079 GB, free: 13.38 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)