Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007755/0.0007757, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004508/0.004509, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.54/2.54, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003327, allocations: 12 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6061/0.6065, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.00596/0.6125, allocations: 5.481 MB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004742/0.6172, allocations: 2.751 MB / 1.031 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.6184, allocations: 39.81 kB / 1.031 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.6187, allocations: 87.16 kB / 1.031 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.619, allocations: 83.36 kB / 1.031 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.62, allocations: 431.1 kB / 1.032 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007168/0.6207, allocations: 0.8059 MB / 1.033 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005639/0.6213, allocations: 410.3 kB / 1.033 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.6216, allocations: 218.8 kB / 1.033 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.6219, allocations: 258.3 kB / 1.033 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.6219, allocations: 24 kB / 1.033 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.6222, allocations: 111.9 kB / 1.034 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.6223, allocations: 111.3 kB / 1.034 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.6225, allocations: 307.7 kB / 1.034 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007301/0.6232, allocations: 0.9323 MB / 1.035 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.6232, allocations: 0 / 1.035 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6233, allocations: 0 / 1.035 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.6233, allocations: 0 / 1.035 GB, free: 3.777 MB / 0.7794 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.001469/0.6247, allocations: 0.9651 MB / 1.036 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.6248, allocations: 8.031 kB / 1.036 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.6249, allocations: 106.7 kB / 1.036 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.625, allocations: 91.91 kB / 1.036 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005396/0.6256, allocations: 482.8 kB / 1.036 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/0.6256, allocations: 57.67 kB / 1.037 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.855e-05/0.6257, allocations: 64.38 kB / 1.037 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009852/0.6267, allocations: 0.612 MB / 1.037 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.6268, allocations: 3.938 kB / 1.037 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.081e-05/0.6268, allocations: 28 kB / 1.037 GB, free: 1.242 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.6268, allocations: 12 kB / 1.037 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000872/0.6277, allocations: 457 kB / 1.038 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.6305, allocations: 2.324 MB / 1.04 GB, free: 14.34 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.6325, allocations: 0.9497 MB / 1.041 GB, free: 13.35 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004215/0.6329, allocations: 258 kB / 1.041 GB, free: 13.1 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.6329, allocations: 4.375 kB / 1.041 GB, free: 13.09 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004804/0.6334, allocations: 269.9 kB / 1.041 GB, free: 12.82 MB / 0.795 GB Notification: Performance of pre-optimization done (n=51): time 1.884e-06/0.6334, allocations: 4 kB / 1.041 GB, free: 12.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=51): time 0.00119/0.6346, allocations: 0.6194 MB / 1.042 GB, free: 12.19 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.6347, allocations: 111.2 kB / 1.042 GB, free: 12.06 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005125/0.6352, allocations: 498.6 kB / 1.043 GB, free: 11.56 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/0.6353, allocations: 41.64 kB / 1.043 GB, free: 11.52 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.6355, allocations: 344.2 kB / 1.043 GB, free: 11.18 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.6357, allocations: 169.6 kB / 1.043 GB, free: 11.01 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.354e-05/0.6357, allocations: 65.67 kB / 1.043 GB, free: 10.94 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6359, allocations: 370.8 kB / 1.043 GB, free: 10.57 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.6363, allocations: 205.2 kB / 1.044 GB, free: 10.37 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005281/0.6368, allocations: 399.4 kB / 1.044 GB, free: 9.898 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008357/0.6377, allocations: 0.5533 MB / 1.045 GB, free: 9.289 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6377, allocations: 0 / 1.045 GB, free: 9.289 MB / 0.795 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001151/0.6389, allocations: 0.6833 MB / 1.045 GB, free: 8.59 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.639, allocations: 239.1 kB / 1.046 GB, free: 8.297 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.639, allocations: 4 kB / 1.046 GB, free: 8.293 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.639, allocations: 11.98 kB / 1.046 GB, free: 8.281 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.6394, allocations: 107.8 kB / 1.046 GB, free: 8.176 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.6394, allocations: 16.05 kB / 1.046 GB, free: 8.16 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005329/0.64, allocations: 135.3 kB / 1.046 GB, free: 8.027 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/0.64, allocations: 27.94 kB / 1.046 GB, free: 8 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.698e-06/0.6401, allocations: 4 kB / 1.046 GB, free: 7.996 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008578/0.6409, allocations: 0.565 MB / 1.046 GB, free: 7.422 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.6409, allocations: 11.97 kB / 1.046 GB, free: 7.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-06/0.641, allocations: 8 kB / 1.046 GB, free: 7.402 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.6413, allocations: 91.84 kB / 1.046 GB, free: 7.312 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.6413, allocations: 8.484 kB / 1.046 GB, free: 7.305 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004761/0.6418, allocations: 115.5 kB / 1.047 GB, free: 7.191 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.6418, allocations: 31.98 kB / 1.047 GB, free: 7.16 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,occSch.tNext,$PRE.occSch.tNext,occSch.tNonOcc,$PRE.occSch.tNonOcc,occSch.tOcc,$PRE.occSch.tOcc,occSch.occupied,$PRE.occSch.occupied,optSta.falEdg.not_u,$PRE.optSta.falEdg.not_u,optSta.falEdg.y,optSta.hysSta.greHys.y,$PRE.optSta.hysSta.greHys.y,$whenCondition3,conPID.con1.y,conPID1.con1.y,optSta.con3.y,optSta.con.y,optSta.optOn,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0002709/0.6421, allocations: 282.7 kB / 1.047 GB, free: 6.875 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.92e-05/0.6422, allocations: 63.19 kB / 1.047 GB, free: 6.812 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.6423, allocations: 61.81 kB / 1.047 GB, free: 6.746 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6423, allocations: 8 kB / 1.047 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.6423, allocations: 0 / 1.047 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.6423, allocations: 3.984 kB / 1.047 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.6439, allocations: 1.173 MB / 1.048 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.6439, allocations: 0 / 1.048 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.6443, allocations: 79.89 kB / 1.048 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.6443, allocations: 4 kB / 1.048 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.6443, allocations: 15.98 kB / 1.048 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.6443, allocations: 0 / 1.048 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.6443, allocations: 7.938 kB / 1.048 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.6456, allocations: 0.7869 MB / 1.049 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.966e-05/0.6457, allocations: 136.3 kB / 1.049 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.075e-05/0.6457, allocations: 12 kB / 1.049 GB, free: 4.43 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.646, allocations: 43.97 kB / 1.049 GB, free: 4.387 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.199e-05/0.6461, allocations: 36.33 kB / 1.049 GB, free: 4.352 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.6461, allocations: 19.98 kB / 1.049 GB, free: 4.332 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003254/0.6465, allocations: 330.9 kB / 1.05 GB, free: 4.012 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6465, allocations: 0 / 1.05 GB, free: 4.012 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006947/0.6472, allocations: 275 kB / 1.05 GB, free: 3.742 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 11 ($whenCondition3,$whenCondition1,$whenCondition2,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001556/0.6487, allocations: 1.388 MB / 1.051 GB, free: 2.328 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.6501, allocations: 0.9615 MB / 1.052 GB, free: 1.336 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6502, allocations: 128 / 1.052 GB, free: 1.336 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.6505, allocations: 222.4 kB / 1.052 GB, free: 1.113 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006409/0.6512, allocations: 111.7 kB / 1.052 GB, free: 1.008 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006672/0.6579, allocations: 5.412 MB / 1.058 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.6583, allocations: 0.8946 MB / 1.059 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002972/0.6586, allocations: 76.69 kB / 1.059 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.6589, allocations: 243.3 kB / 1.059 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of SimCode: time 8.72e-07/0.6589, allocations: 0 / 1.059 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.6875, allocations: 11.95 MB / 1.071 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/0.6877, allocations: 238.4 kB / 1.071 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/2.667, allocations: 0 / 1.071 GB, free: 14.21 MB / 0.8262 GB (rm -f Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling_fmu --startTime=0 --stopTime=2.4192e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.fmu > Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)