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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.294/2.294, allocations: 390.5 MB / 398 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 176.2 kB / 491.2 MB, free: 1.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 93.7 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.969e-05/1.981e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3123, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.178/1.491, allocations: 158.4 MB / 1.367 GB, free: 17.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/1.491, allocations: 68.27 kB / 1.367 GB, free: 17.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03134/1.522, allocations: 12.09 MB / 1.379 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.964e-06/1.522, allocations: 0 / 1.379 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.409e-05/1.522, allocations: 15.5 kB / 1.379 GB, free: 31.67 MB / 0.8386 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.002043/1.524, allocations: 0.906 MB / 1.38 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.525, allocations: 7.625 kB / 1.38 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003549/1.525, allocations: 93.64 kB / 1.38 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009802/1.526, allocations: 465.6 kB / 1.38 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/1.526, allocations: 23 kB / 1.38 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/1.526, allocations: 46.53 kB / 1.38 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007225/1.527, allocations: 351 kB / 1.381 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007868/1.528, allocations: 497.5 kB / 1.381 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/1.528, allocations: 0 / 1.381 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/1.528, allocations: 0 / 1.381 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/1.528, allocations: 14.91 kB / 1.381 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/1.53, allocations: 1.928 MB / 1.383 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/1.532, allocations: 0.8191 MB / 1.384 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/1.532, allocations: 224.1 kB / 1.384 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/1.532, allocations: 8.156 kB / 1.384 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003619/1.532, allocations: 237.9 kB / 1.384 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 2.926e-06/1.532, allocations: 0 / 1.384 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.0006995/1.533, allocations: 402.4 kB / 1.385 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/1.533, allocations: 118.9 kB / 1.385 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/1.534, allocations: 360.5 kB / 1.385 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.247e-05/1.534, allocations: 33.17 kB / 1.385 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000203/1.534, allocations: 327 kB / 1.386 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.851e-05/1.534, allocations: 170.3 kB / 1.386 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/1.534, allocations: 0 / 1.386 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.534, allocations: 370.5 kB / 1.386 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/1.534, allocations: 159.2 kB / 1.386 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/1.535, allocations: 290.8 kB / 1.387 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/1.535, allocations: 197.2 kB / 1.387 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.535, allocations: 0 / 1.387 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007781/1.536, allocations: 0.5154 MB / 1.387 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000271/1.536, allocations: 0.7383 MB / 1.388 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/1.536, allocations: 3.906 kB / 1.388 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/1.536, allocations: 7.906 kB / 1.388 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/1.537, allocations: 107.8 kB / 1.388 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/1.537, allocations: 7.688 kB / 1.388 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/1.537, allocations: 101.4 kB / 1.388 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/1.537, allocations: 22.95 kB / 1.388 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/1.537, allocations: 3.656 kB / 1.388 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006718/1.538, allocations: 438.2 kB / 1.389 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.538, allocations: 3.953 kB / 1.389 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/1.538, allocations: 7.594 kB / 1.389 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/1.538, allocations: 84.69 kB / 1.389 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.538, allocations: 7.828 kB / 1.389 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/1.539, allocations: 92.34 kB / 1.389 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/1.539, allocations: 26.5 kB / 1.389 GB, free: 26.47 MB / 0.8386 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.0002406/1.539, allocations: 126.3 kB / 1.389 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005183/1.539, allocations: 396.3 kB / 1.389 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/1.539, allocations: 58.2 kB / 1.389 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/1.54, allocations: 64.47 kB / 1.389 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/1.54, allocations: 11.8 kB / 1.389 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.54, allocations: 0 / 1.389 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/1.54, allocations: 0 / 1.389 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/1.541, allocations: 1.059 MB / 1.39 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.541, allocations: 0 / 1.39 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/1.541, allocations: 92.5 kB / 1.391 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/1.541, allocations: 3.969 kB / 1.391 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/1.541, allocations: 7.812 kB / 1.391 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.541, allocations: 3.938 kB / 1.391 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.541, allocations: 4.062 kB / 1.391 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008336/1.542, allocations: 0.728 MB / 1.391 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/1.542, allocations: 134.9 kB / 1.391 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.271e-05/1.542, allocations: 7.438 kB / 1.391 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/1.543, allocations: 39.05 kB / 1.391 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/1.543, allocations: 35.28 kB / 1.392 GB, free: 25.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/1.543, allocations: 26.8 kB / 1.392 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002521/1.543, allocations: 273.7 kB / 1.392 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.543, allocations: 4 kB / 1.392 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007566/1.544, allocations: 247.1 kB / 1.392 GB, free: 25.07 MB / 0.8386 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.001353/1.545, allocations: 1.478 MB / 1.393 GB, free: 24.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00108/1.546, allocations: 0.8391 MB / 1.394 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.546, allocations: 3.719 kB / 1.394 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/1.547, allocations: 190.4 kB / 1.394 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005992/1.547, allocations: 96.25 kB / 1.395 GB, free: 23.81 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/1.549, allocations: 0.8848 MB / 1.395 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/1.549, allocations: 0.9162 MB / 1.396 GB, free: 22.56 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003924/1.55, allocations: 99.67 kB / 1.396 GB, free: 22.51 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/1.55, allocations: 239.8 kB / 1.397 GB, free: 22.48 MB / 0.8386 GB Notification: Performance of SimCode: time 9.42e-07/1.55, allocations: 0 / 1.397 GB, free: 22.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03415/1.584, allocations: 11.9 MB / 1.408 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/1.584, allocations: 174 kB / 1.408 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/4.047, allocations: 4 kB / 1.408 GB, free: 13.94 MB / 0.8386 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)