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.723/2.723, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001513/0.001513, allocations: 177.2 kB / 370.8 MB, free: 10.85 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.073/2.073, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 86.92 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004912, allocations: 14.69 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2348, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9357/1.171, allocations: 146.7 MB / 1.122 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/1.171, allocations: 72.03 kB / 1.122 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05089/1.222, allocations: 12.39 MB / 1.134 GB, free: 28.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/1.222, allocations: 3.938 kB / 1.134 GB, free: 28.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.171e-05/1.222, allocations: 15.41 kB / 1.134 GB, free: 28.71 MB / 0.698 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.002411/1.224, allocations: 1.041 MB / 1.135 GB, free: 27.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/1.224, allocations: 7.688 kB / 1.135 GB, free: 27.93 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/1.225, allocations: 113.2 kB / 1.135 GB, free: 27.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/1.225, allocations: 93.59 kB / 1.135 GB, free: 27.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/1.226, allocations: 0.4887 MB / 1.135 GB, free: 27.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.003e-05/1.226, allocations: 52.53 kB / 1.135 GB, free: 27.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/1.226, allocations: 71.73 kB / 1.136 GB, free: 27.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/1.228, allocations: 0.6163 MB / 1.136 GB, free: 27.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/1.228, allocations: 0 / 1.136 GB, free: 27.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.621e-05/1.228, allocations: 24 kB / 1.136 GB, free: 27.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/1.228, allocations: 14.62 kB / 1.136 GB, free: 27.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/1.229, allocations: 472.2 kB / 1.137 GB, free: 27.19 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004198/1.233, allocations: 2.096 MB / 1.139 GB, free: 25.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003423/1.237, allocations: 0.959 MB / 1.14 GB, free: 25.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.13e-05/1.237, allocations: 4.219 kB / 1.14 GB, free: 25.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008446/1.238, allocations: 298.4 kB / 1.14 GB, free: 25.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 3.487e-06/1.238, allocations: 0 / 1.14 GB, free: 25.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.002217/1.24, allocations: 0.7686 MB / 1.141 GB, free: 25.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/1.24, allocations: 110.9 kB / 1.141 GB, free: 25.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008086/1.241, allocations: 483.2 kB / 1.141 GB, free: 24.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/1.241, allocations: 47.16 kB / 1.141 GB, free: 24.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/1.241, allocations: 342.3 kB / 1.142 GB, free: 24.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/1.242, allocations: 178 kB / 1.142 GB, free: 24.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/1.242, allocations: 10.97 kB / 1.142 GB, free: 24.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002133/1.242, allocations: 382.2 kB / 1.142 GB, free: 24.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007138/1.243, allocations: 209.5 kB / 1.142 GB, free: 24.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008115/1.244, allocations: 372 kB / 1.143 GB, free: 24.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007494/1.244, allocations: 260.5 kB / 1.143 GB, free: 23.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/1.244, allocations: 3.984 kB / 1.143 GB, free: 23.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001907/1.246, allocations: 0.6693 MB / 1.144 GB, free: 23.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003566/1.247, allocations: 0.7361 MB / 1.144 GB, free: 23.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/1.247, allocations: 3.844 kB / 1.144 GB, free: 23.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/1.247, allocations: 3.812 kB / 1.144 GB, free: 23.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007641/1.247, allocations: 100.1 kB / 1.144 GB, free: 23.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/1.247, allocations: 11.78 kB / 1.144 GB, free: 23.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/1.248, allocations: 121.6 kB / 1.145 GB, free: 22.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.12e-05/1.249, allocations: 22.66 kB / 1.145 GB, free: 22.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/1.249, allocations: 6 kB / 1.145 GB, free: 22.96 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001473/1.25, allocations: 0.543 MB / 1.145 GB, free: 22.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/1.25, allocations: 3.688 kB / 1.145 GB, free: 22.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/1.25, allocations: 3.844 kB / 1.145 GB, free: 22.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006407/1.251, allocations: 87.53 kB / 1.145 GB, free: 22.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/1.251, allocations: 7.859 kB / 1.145 GB, free: 22.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000878/1.252, allocations: 106.1 kB / 1.145 GB, free: 22.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.945e-05/1.252, allocations: 18.91 kB / 1.145 GB, free: 22.79 MB / 0.698 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 () * Number of clocked 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.000566/1.252, allocations: 285 kB / 1.146 GB, free: 22.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/1.253, allocations: 73.69 kB / 1.146 GB, free: 22.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/1.253, allocations: 76.69 kB / 1.146 GB, free: 22.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/1.253, allocations: 7.656 kB / 1.146 GB, free: 22.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.253, allocations: 4 kB / 1.146 GB, free: 22.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/1.253, allocations: 3.984 kB / 1.146 GB, free: 22.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/1.256, allocations: 1.287 MB / 1.147 GB, free: 21.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.256, allocations: 0 / 1.147 GB, free: 21.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007368/1.256, allocations: 96.33 kB / 1.147 GB, free: 21.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/1.256, allocations: 3.906 kB / 1.147 GB, free: 21.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.065e-05/1.256, allocations: 18.39 kB / 1.147 GB, free: 21.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/1.256, allocations: 3.938 kB / 1.147 GB, free: 21.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.257, allocations: 3.844 kB / 1.147 GB, free: 21.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/1.259, allocations: 0.9042 MB / 1.148 GB, free: 21.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/1.259, allocations: 143 kB / 1.148 GB, free: 21.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/1.259, allocations: 18.33 kB / 1.148 GB, free: 21.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/1.26, allocations: 45.72 kB / 1.148 GB, free: 21.44 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/1.26, allocations: 34.91 kB / 1.148 GB, free: 21.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-05/1.26, allocations: 22.73 kB / 1.148 GB, free: 21.42 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006351/1.261, allocations: 374.5 kB / 1.149 GB, free: 21.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.6e-07/1.261, allocations: 4 kB / 1.149 GB, free: 21.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001174/1.262, allocations: 280.2 kB / 1.149 GB, free: 21.23 MB / 0.698 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) * Number of clocked states: 0 () * 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.003012/1.265, allocations: 1.645 MB / 1.15 GB, free: 20.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002546/1.267, allocations: 0.9709 MB / 1.151 GB, free: 19.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.267, allocations: 0 / 1.151 GB, free: 19.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000736/1.268, allocations: 248.9 kB / 1.152 GB, free: 19.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/1.269, allocations: 115.6 kB / 1.152 GB, free: 19.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004103/1.273, allocations: 2.858 MB / 1.155 GB, free: 17.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006411/1.274, allocations: 0.9364 MB / 1.155 GB, free: 16.78 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000616/1.275, allocations: 82.45 kB / 1.156 GB, free: 16.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004526/1.275, allocations: 260.9 kB / 1.156 GB, free: 16.71 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/1.275, allocations: 0 / 1.156 GB, free: 16.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05413/1.329, allocations: 12.86 MB / 1.168 GB, free: 5.457 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/1.33, allocations: 207 kB / 1.169 GB, free: 5.219 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.126/4.456, allocations: 4.062 kB / 1.169 GB, free: 5.215 MB / 0.698 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)