Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_latest_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.001088/0.001089, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001187/0.001187, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.914/1.914, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.725/3.725, allocations: 409.2 MB / 0.6838 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000558/0.0005582, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425/1.426, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.01035/1.436, allocations: 5.173 MB / 0.9859 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01097/1.447, allocations: 2.677 MB / 0.9885 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003551/1.451, allocations: 39.81 kB / 0.9886 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001622/1.452, allocations: 154.3 kB / 0.9887 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00301/1.455, allocations: 239.1 kB / 0.9889 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005321/1.461, allocations: 0.783 MB / 0.9897 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002176/1.463, allocations: 0.5178 MB / 0.9902 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/1.464, allocations: 481.7 kB / 0.9907 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005034/1.465, allocations: 211 kB / 0.9909 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000497/1.465, allocations: 238.6 kB / 0.9911 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.841e-05/1.465, allocations: 27.94 kB / 0.9911 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000439/1.466, allocations: 99.91 kB / 0.9912 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001715/1.466, allocations: 103.5 kB / 0.9913 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000211/1.466, allocations: 133.3 kB / 0.9915 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/1.468, allocations: 0.7464 MB / 0.9922 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/1.468, allocations: 0 / 0.9922 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.304e-06/1.468, allocations: 3.938 kB / 0.9922 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.706e-05/1.468, allocations: 0 / 0.9922 GB, free: 10.68 MB / 0.7481 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.003004/1.471, allocations: 0.9727 MB / 0.9931 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.561e-05/1.471, allocations: 12.03 kB / 0.9931 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002009/1.471, allocations: 106.5 kB / 0.9932 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/1.471, allocations: 82.97 kB / 0.9933 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/1.472, allocations: 469.8 kB / 0.9938 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.545e-05/1.472, allocations: 53.31 kB / 0.9938 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/1.472, allocations: 71.95 kB / 0.9939 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/1.474, allocations: 0.5997 MB / 0.9945 GB, free: 8.195 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/1.474, allocations: 7.984 kB / 0.9945 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.743e-05/1.475, allocations: 28 kB / 0.9945 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/1.475, allocations: 16 kB / 0.9945 GB, free: 8.145 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/1.476, allocations: 452.9 kB / 0.995 GB, free: 7.703 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005684/1.482, allocations: 2.32 MB / 0.9972 GB, free: 5.266 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003293/1.485, allocations: 0.9483 MB / 0.9982 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.842e-05/1.485, allocations: 12.38 kB / 0.9982 GB, free: 4.262 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008183/1.486, allocations: 261.3 kB / 0.9984 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=51): time 4.308e-06/1.486, allocations: 7.938 kB / 0.9984 GB, free: 3.988 MB / 0.7481 GB Notification: Performance of matching and sorting (n=51): time 0.002181/1.489, allocations: 0.6992 MB / 0.9991 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.489, allocations: 115.2 kB / 0.9992 GB, free: 3.129 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009586/1.49, allocations: 486.6 kB / 0.9997 GB, free: 2.645 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/1.49, allocations: 45.69 kB / 0.9997 GB, free: 2.594 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000422/1.49, allocations: 344.2 kB / 1 GB, free: 2.25 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/1.49, allocations: 161.7 kB / 1 GB, free: 2.09 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/1.49, allocations: 12 kB / 1 GB, free: 2.078 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000218/1.491, allocations: 374.8 kB / 1.001 GB, free: 1.703 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000674/1.491, allocations: 197.2 kB / 1.001 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008899/1.492, allocations: 395.5 kB / 1.001 GB, free: 1.047 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000739/1.493, allocations: 263.8 kB / 1.001 GB, free: 0.7891 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/1.493, allocations: 4 kB / 1.001 GB, free: 0.7852 MB / 0.7481 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002033/1.495, allocations: 0.6754 MB / 1.002 GB, free: 96 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.001018/1.496, allocations: 1.525 MB / 1.004 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/1.496, allocations: 4 kB / 1.004 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.651e-05/1.496, allocations: 12 kB / 1.004 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000718/1.497, allocations: 111.8 kB / 1.004 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.616e-05/1.497, allocations: 11.94 kB / 1.004 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009224/1.498, allocations: 131.4 kB / 1.004 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-05/1.498, allocations: 27.98 kB / 1.004 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.498, allocations: 4 kB / 1.004 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001332/1.499, allocations: 0.5573 MB / 1.004 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/1.499, allocations: 8 kB / 1.004 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/1.499, allocations: 8.5 kB / 1.004 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/1.5, allocations: 99.83 kB / 1.004 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/1.5, allocations: 7.938 kB / 1.004 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008453/1.501, allocations: 115.4 kB / 1.005 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.949e-05/1.501, allocations: 27.98 kB / 1.005 GB, free: 13.32 MB / 0.7637 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,$whenCondition3,$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,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006641/1.502, allocations: 286.6 kB / 1.005 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/1.502, allocations: 59.33 kB / 1.005 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/1.502, allocations: 57.83 kB / 1.005 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/1.502, allocations: 12 kB / 1.005 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/1.502, allocations: 0 / 1.005 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/1.502, allocations: 3.984 kB / 1.005 GB, free: 12.9 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/1.505, allocations: 1.177 MB / 1.006 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/1.505, allocations: 0 / 1.006 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006103/1.506, allocations: 79.89 kB / 1.006 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.988e-06/1.506, allocations: 4 kB / 1.006 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.583e-05/1.506, allocations: 19.97 kB / 1.006 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/1.506, allocations: 0 / 1.006 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.506, allocations: 0 / 1.006 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/1.508, allocations: 0.787 MB / 1.007 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/1.508, allocations: 140.3 kB / 1.007 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/1.508, allocations: 12 kB / 1.007 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/1.509, allocations: 35.97 kB / 1.007 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/1.509, allocations: 36.38 kB / 1.007 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.612e-05/1.509, allocations: 23.94 kB / 1.007 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007266/1.51, allocations: 326.9 kB / 1.008 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.21e-07/1.51, allocations: 0 / 1.008 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001642/1.511, allocations: 275 kB / 1.008 GB, free: 9.918 MB / 0.7637 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 (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.002912/1.514, allocations: 1.383 MB / 1.009 GB, free: 8.508 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002927/1.517, allocations: 0.9615 MB / 1.01 GB, free: 7.516 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.517, allocations: 0 / 1.01 GB, free: 7.516 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006596/1.518, allocations: 218.4 kB / 1.01 GB, free: 7.297 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/1.519, allocations: 102.9 kB / 1.01 GB, free: 7.195 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005536/1.525, allocations: 4.142 MB / 1.014 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008328/1.526, allocations: 0.9063 MB / 1.015 GB, free: 2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006592/1.526, allocations: 76.7 kB / 1.015 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005864/1.527, allocations: 239.3 kB / 1.016 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of SimCode: time 1.593e-06/1.527, allocations: 0 / 1.016 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05355/1.581, allocations: 12.01 MB / 1.027 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003659/1.581, allocations: 212.3 kB / 1.028 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.837/5.418, allocations: 2.531 kB / 1.028 GB, free: 5.703 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling_fmu --startTime=0 --stopTime=2.4192e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1) Environment - environmentSimulation: