Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.532/2.532, allocations: 284.7 MB / 297.2 MB, free: 6.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001442, allocations: 184.8 kB / 365.6 MB, free: 2.629 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.1 MB / 0.6239 GB, free: 8.27 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 102 kB / 0.7371 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.164e-05/5.173e-05, allocations: 7.984 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8558/0.8559, allocations: 115.2 MB / 0.9699 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2653/1.121, allocations: 146.6 MB / 1.113 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/1.122, allocations: 73.2 kB / 1.113 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05802/1.18, allocations: 12.36 MB / 1.125 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.101e-06/1.18, allocations: 0 / 1.125 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.367e-05/1.18, allocations: 19.94 kB / 1.125 GB, free: 9.539 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002588/1.182, allocations: 0.9371 MB / 1.126 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/1.183, allocations: 8.031 kB / 1.126 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002746/1.183, allocations: 102.5 kB / 1.126 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003261/1.183, allocations: 95.22 kB / 1.126 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/1.185, allocations: 492 kB / 1.127 GB, free: 7.812 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.597e-05/1.185, allocations: 53.31 kB / 1.127 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/1.185, allocations: 68 kB / 1.127 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/1.187, allocations: 0.5788 MB / 1.128 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/1.187, allocations: 0 / 1.128 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.561e-05/1.187, allocations: 24 kB / 1.128 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/1.187, allocations: 16 kB / 1.128 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/1.188, allocations: 393.1 kB / 1.128 GB, free: 6.668 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005466/1.194, allocations: 2.103 MB / 1.13 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003445/1.197, allocations: 0.8713 MB / 1.131 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006352/1.198, allocations: 206.6 kB / 1.131 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.825e-05/1.198, allocations: 12.42 kB / 1.131 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007557/1.199, allocations: 270.6 kB / 1.131 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 3.747e-06/1.199, allocations: 0 / 1.131 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.001476/1.2, allocations: 449.5 kB / 1.132 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.2, allocations: 119.3 kB / 1.132 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/1.201, allocations: 473 kB / 1.132 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000174/1.201, allocations: 45.69 kB / 1.132 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004204/1.202, allocations: 336.8 kB / 1.133 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/1.202, allocations: 177.4 kB / 1.133 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/1.202, allocations: 12 kB / 1.133 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002466/1.202, allocations: 382.8 kB / 1.133 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005855/1.203, allocations: 173.3 kB / 1.133 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007826/1.204, allocations: 327.6 kB / 1.134 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006311/1.205, allocations: 228.9 kB / 1.134 GB, free: 312 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/1.205, allocations: 0 / 1.134 GB, free: 312 kB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001798/1.206, allocations: 0.5974 MB / 1.135 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004815/1.207, allocations: 0.7344 MB / 1.135 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.204e-05/1.207, allocations: 4 kB / 1.135 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.245e-05/1.207, allocations: 4 kB / 1.135 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009163/1.208, allocations: 107.8 kB / 1.135 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/1.208, allocations: 5.016 kB / 1.135 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/1.209, allocations: 119.5 kB / 1.135 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/1.209, allocations: 24 kB / 1.135 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.209, allocations: 7.953 kB / 1.135 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001587/1.211, allocations: 0.5145 MB / 1.136 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/1.211, allocations: 7.922 kB / 1.136 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/1.211, allocations: 8 kB / 1.136 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000758/1.212, allocations: 83.84 kB / 1.136 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/1.212, allocations: 8.219 kB / 1.136 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009588/1.213, allocations: 101.2 kB / 1.136 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.825e-05/1.213, allocations: 31.98 kB / 1.136 GB, free: 13.88 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,$PRE.optSta.hysSta.greHys.y,optSta.hysSta.greHys.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.occSch.tNext,occSch.tNext,$PRE.pul.booPul.y,pul.booPul.y,booToRea1.u,TRoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0003064/1.213, allocations: 148.7 kB / 1.136 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/1.213, allocations: 71.11 kB / 1.136 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/1.214, allocations: 70.56 kB / 1.136 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/1.214, allocations: 4 kB / 1.136 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.214, allocations: 1.375 kB / 1.136 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/1.214, allocations: 3.984 kB / 1.136 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002921/1.217, allocations: 1.224 MB / 1.138 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/1.217, allocations: 4 kB / 1.138 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008438/1.217, allocations: 87.88 kB / 1.138 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/1.218, allocations: 64 / 1.138 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.2e-05/1.218, allocations: 16 kB / 1.138 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.058e-06/1.218, allocations: 7 kB / 1.138 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.218, allocations: 0 / 1.138 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/1.22, allocations: 0.8035 MB / 1.139 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/1.22, allocations: 154.5 kB / 1.139 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/1.22, allocations: 15.98 kB / 1.139 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006045/1.221, allocations: 39.97 kB / 1.139 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/1.221, allocations: 36.38 kB / 1.139 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.151e-05/1.221, allocations: 19.95 kB / 1.139 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007736/1.222, allocations: 373.6 kB / 1.139 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.51e-07/1.222, allocations: 0 / 1.139 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001357/1.223, allocations: 287.1 kB / 1.139 GB, free: 10.42 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,optSta.hysSta.greHys.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.tOcc,occSch.tNonOcc,occSch.tNext,pul.booPul.y) * Number of discrete states: 3 (occSch.tNext,optSta.hysSta.greHys.y,optSta.falEdg.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002813/1.226, allocations: 1.539 MB / 1.141 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002503/1.229, allocations: 0.9137 MB / 1.142 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/1.229, allocations: 0.875 kB / 1.142 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006457/1.229, allocations: 218.5 kB / 1.142 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/1.231, allocations: 116.5 kB / 1.142 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/1.234, allocations: 0.972 MB / 1.143 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000714/1.235, allocations: 0.9315 MB / 1.144 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0009106/1.236, allocations: 115 kB / 1.144 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/1.236, allocations: 255.3 kB / 1.144 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of SimCode: time 1.914e-06/1.236, allocations: 0 / 1.144 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05402/1.29, allocations: 14.02 MB / 1.158 GB, free: 7.602 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/1.291, allocations: 182.9 kB / 1.158 GB, free: 7.375 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.044/4.334, allocations: 4 kB / 1.158 GB, free: 7.371 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling_fmu --startTime=0 --stopTime=2.4192e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.fmu > Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)