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.404/1.404, allocations: 249.5 MB / 257 MB, free: 6.895 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.0009518/0.0009517, allocations: 187.1 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0009499/0.0009498, allocations: 94.22 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.796e-05/2.764e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2538, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8627/1.117, allocations: 143 MB / 1.025 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/1.117, allocations: 75.83 kB / 1.025 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03388/1.151, allocations: 12.37 MB / 1.037 GB, free: 240 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.703e-06/1.151, allocations: 0 / 1.037 GB, free: 240 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.388e-05/1.151, allocations: 16 kB / 1.037 GB, free: 224 kB / 0.6511 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.00242/1.153, allocations: 0.9776 MB / 1.038 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/1.153, allocations: 11.97 kB / 1.038 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/1.154, allocations: 99.22 kB / 1.038 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/1.155, allocations: 492.8 kB / 1.039 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/1.155, allocations: 20 kB / 1.039 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/1.155, allocations: 51.98 kB / 1.039 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008329/1.156, allocations: 378.4 kB / 1.039 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/1.157, allocations: 0.5752 MB / 1.04 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/1.157, allocations: 7.875 kB / 1.04 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/1.157, allocations: 7.984 kB / 1.04 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/1.157, allocations: 20 kB / 1.04 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003744/1.161, allocations: 2.412 MB / 1.042 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009057/1.162, allocations: 0.5135 MB / 1.043 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003832/1.162, allocations: 227.6 kB / 1.043 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.73e-05/1.162, allocations: 8.562 kB / 1.043 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005362/1.163, allocations: 348.1 kB / 1.043 GB, free: 11 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=62): time 3.777e-06/1.163, allocations: 0 / 1.043 GB, free: 11 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62): time 0.0009569/1.164, allocations: 0.5197 MB / 1.044 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/1.164, allocations: 145.1 kB / 1.044 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004734/1.164, allocations: 383.8 kB / 1.044 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.632e-05/1.165, allocations: 37.14 kB / 1.044 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/1.165, allocations: 342.5 kB / 1.044 GB, free: 9.848 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/1.165, allocations: 194.5 kB / 1.045 GB, free: 9.684 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/1.165, allocations: 4 kB / 1.045 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.165, allocations: 371.1 kB / 1.045 GB, free: 9.336 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/1.166, allocations: 193.8 kB / 1.045 GB, free: 9.223 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/1.166, allocations: 307.3 kB / 1.045 GB, free: 8.977 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/1.166, allocations: 213.1 kB / 1.046 GB, free: 8.84 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.167, allocations: 4 kB / 1.046 GB, free: 8.836 MB / 0.6667 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001145/1.168, allocations: 0.6649 MB / 1.046 GB, free: 8.32 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003195/1.168, allocations: 0.6648 MB / 1.047 GB, free: 7.617 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.168, allocations: 0 / 1.047 GB, free: 7.617 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/1.168, allocations: 4 kB / 1.047 GB, free: 7.613 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005449/1.169, allocations: 130.2 kB / 1.047 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/1.169, allocations: 4 kB / 1.047 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005942/1.169, allocations: 103.6 kB / 1.047 GB, free: 7.387 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.339e-05/1.169, allocations: 34.48 kB / 1.047 GB, free: 7.359 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/1.169, allocations: 4 kB / 1.047 GB, free: 7.355 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001025/1.17, allocations: 0.5913 MB / 1.048 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/1.17, allocations: 4.062 kB / 1.048 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/1.17, allocations: 8 kB / 1.048 GB, free: 6.918 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/1.171, allocations: 105.8 kB / 1.048 GB, free: 6.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/1.171, allocations: 8.172 kB / 1.048 GB, free: 6.812 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/1.171, allocations: 99.52 kB / 1.048 GB, free: 6.715 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/1.171, allocations: 26.19 kB / 1.048 GB, free: 6.695 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.000217/1.172, allocations: 138.7 kB / 1.048 GB, free: 6.559 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008101/1.172, allocations: 0.5068 MB / 1.049 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/1.173, allocations: 63.25 kB / 1.049 GB, free: 6.102 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/1.173, allocations: 64 kB / 1.049 GB, free: 6.066 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/1.173, allocations: 11.94 kB / 1.049 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.173, allocations: 7.891 kB / 1.049 GB, free: 6.047 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/1.173, allocations: 4.016 kB / 1.049 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/1.175, allocations: 1.154 MB / 1.05 GB, free: 5.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/1.175, allocations: 0 / 1.05 GB, free: 5.105 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004643/1.175, allocations: 103.4 kB / 1.05 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/1.175, allocations: 8.062 kB / 1.05 GB, free: 5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/1.175, allocations: 15.41 kB / 1.05 GB, free: 4.988 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/1.175, allocations: 7.953 kB / 1.05 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.175, allocations: 0 / 1.05 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/1.176, allocations: 0.9156 MB / 1.051 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/1.177, allocations: 143.9 kB / 1.051 GB, free: 4.109 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/1.177, allocations: 7.25 kB / 1.051 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/1.177, allocations: 55.94 kB / 1.051 GB, free: 4.051 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/1.177, allocations: 51.42 kB / 1.051 GB, free: 4.008 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/1.177, allocations: 26.86 kB / 1.051 GB, free: 3.988 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003438/1.178, allocations: 292.8 kB / 1.052 GB, free: 3.77 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.2e-07/1.178, allocations: 0 / 1.052 GB, free: 3.77 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000878/1.179, allocations: 254.8 kB / 1.052 GB, free: 3.523 MB / 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.001794/1.18, allocations: 1.707 MB / 1.053 GB, free: 2.02 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001677/1.182, allocations: 1.118 MB / 1.055 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.182, allocations: 0 / 1.055 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003997/1.182, allocations: 261.6 kB / 1.055 GB, free: 1.109 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/1.183, allocations: 115.7 kB / 1.055 GB, free: 1.02 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/1.185, allocations: 0.9555 MB / 1.056 GB, free: 132 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/1.186, allocations: 0.9346 MB / 1.057 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000532/1.186, allocations: 111.1 kB / 1.057 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/1.187, allocations: 255.5 kB / 1.057 GB, free: 15 MB / 0.6823 GB Notification: Performance of SimCode: time 8.32e-07/1.187, allocations: 0 / 1.057 GB, free: 15 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04125/1.228, allocations: 13.06 MB / 1.07 GB, free: 2.066 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/1.228, allocations: 183.7 kB / 1.07 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/3.559, allocations: 3.797 kB / 1.07 GB, free: 1.867 MB / 0.6823 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)