Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.527/2.527, allocations: 252.6 MB / 265.2 MB, free: 5.742 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00144/0.00144, allocations: 183.9 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.283/2.283, allocations: 205.4 MB / 0.5754 GB, free: 10.49 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001173, allocations: 86.64 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.389e-05/4.402e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3203, allocations: 106.2 MB / 0.8949 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8933/1.214, allocations: 142.5 MB / 1.034 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/1.214, allocations: 78.88 kB / 1.034 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0559/1.27, allocations: 12.45 MB / 1.046 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.845e-06/1.27, allocations: 0 / 1.046 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.712e-05/1.27, allocations: 16 kB / 1.046 GB, free: 13.64 MB / 0.6667 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.002998/1.273, allocations: 0.9697 MB / 1.047 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/1.273, allocations: 15.97 kB / 1.047 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004264/1.274, allocations: 99.25 kB / 1.047 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/1.275, allocations: 497.7 kB / 1.048 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-05/1.275, allocations: 52 kB / 1.048 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/1.276, allocations: 72.81 kB / 1.048 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/1.277, allocations: 0.6672 MB / 1.049 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/1.277, allocations: 3.938 kB / 1.049 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.89e-05/1.278, allocations: 27 kB / 1.049 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/1.278, allocations: 16 kB / 1.049 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/1.279, allocations: 424.4 kB / 1.049 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005879/1.285, allocations: 2.539 MB / 1.052 GB, free: 8.996 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/1.287, allocations: 0.5502 MB / 1.052 GB, free: 8.613 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007104/1.287, allocations: 254.3 kB / 1.052 GB, free: 8.449 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.453e-05/1.287, allocations: 7.688 kB / 1.052 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008879/1.288, allocations: 363.6 kB / 1.053 GB, free: 8.168 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=62): time 3.546e-06/1.288, allocations: 0 / 1.053 GB, free: 8.168 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62): time 0.001785/1.29, allocations: 0.5578 MB / 1.053 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/1.29, allocations: 145 kB / 1.053 GB, free: 7.562 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009178/1.291, allocations: 460 kB / 1.054 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002542/1.292, allocations: 50.42 kB / 1.054 GB, free: 7.168 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004212/1.292, allocations: 329.1 kB / 1.054 GB, free: 6.953 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/1.292, allocations: 194.4 kB / 1.054 GB, free: 6.789 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.01e-05/1.292, allocations: 18.62 kB / 1.054 GB, free: 6.781 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002178/1.293, allocations: 382.1 kB / 1.055 GB, free: 6.43 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007506/1.293, allocations: 209.8 kB / 1.055 GB, free: 6.301 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008049/1.294, allocations: 324.3 kB / 1.055 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007254/1.295, allocations: 267.8 kB / 1.056 GB, free: 5.848 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.295, allocations: 0 / 1.056 GB, free: 5.848 MB / 0.6667 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002126/1.297, allocations: 0.7656 MB / 1.056 GB, free: 5.25 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003222/1.297, allocations: 0.6523 MB / 1.057 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.297, allocations: 7.938 kB / 1.057 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/1.298, allocations: 4 kB / 1.057 GB, free: 4.551 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/1.299, allocations: 127.2 kB / 1.057 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/1.299, allocations: 7.938 kB / 1.057 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/1.3, allocations: 125.8 kB / 1.057 GB, free: 4.309 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/1.3, allocations: 26.81 kB / 1.057 GB, free: 4.289 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.3, allocations: 4 kB / 1.057 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002002/1.302, allocations: 0.7021 MB / 1.058 GB, free: 3.777 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/1.302, allocations: 7.938 kB / 1.058 GB, free: 3.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/1.302, allocations: 4 kB / 1.058 GB, free: 3.766 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009146/1.303, allocations: 111.6 kB / 1.058 GB, free: 3.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/1.303, allocations: 4 kB / 1.058 GB, free: 3.656 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/1.304, allocations: 117.1 kB / 1.058 GB, free: 3.551 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/1.304, allocations: 26.55 kB / 1.058 GB, free: 3.531 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.0003181/1.305, allocations: 155.6 kB / 1.058 GB, free: 3.391 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/1.305, allocations: 67.16 kB / 1.058 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/1.305, allocations: 77.91 kB / 1.058 GB, free: 3.285 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/1.305, allocations: 8 kB / 1.058 GB, free: 3.277 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/1.305, allocations: 11.88 kB / 1.058 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/1.305, allocations: 0 / 1.058 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002786/1.308, allocations: 1.289 MB / 1.06 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.308, allocations: 0 / 1.06 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009763/1.309, allocations: 102.9 kB / 1.06 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.556e-05/1.309, allocations: 3.953 kB / 1.06 GB, free: 2.121 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.191e-05/1.309, allocations: 18.17 kB / 1.06 GB, free: 2.109 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/1.309, allocations: 4 kB / 1.06 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.309, allocations: 4.062 kB / 1.06 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/1.312, allocations: 0.9715 MB / 1.061 GB, free: 1.344 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/1.312, allocations: 144.1 kB / 1.061 GB, free: 1.188 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/1.312, allocations: 25.3 kB / 1.061 GB, free: 1.176 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008314/1.313, allocations: 55.02 kB / 1.061 GB, free: 1.129 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/1.313, allocations: 51.34 kB / 1.061 GB, free: 1.086 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.379e-05/1.313, allocations: 27.86 kB / 1.061 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007083/1.314, allocations: 354.2 kB / 1.061 GB, free: 0.7969 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.72e-07/1.314, allocations: 0 / 1.061 GB, free: 0.7969 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001238/1.315, allocations: 290.3 kB / 1.062 GB, free: 0.543 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.0003352/1.316, allocations: 152.5 kB / 1.062 GB, free: 404 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002862/1.318, allocations: 1.19 MB / 1.063 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.318, allocations: 0 / 1.063 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008181/1.319, allocations: 272.1 kB / 1.063 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/1.321, allocations: 124.2 kB / 1.063 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/1.323, allocations: 0.8781 MB / 1.064 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006243/1.324, allocations: 0.9356 MB / 1.065 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009315/1.325, allocations: 119.3 kB / 1.065 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/1.325, allocations: 43.42 kB / 1.065 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.493e-06/1.325, allocations: 0 / 1.065 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.02944/1.355, allocations: 8.715 MB / 1.074 GB, free: 4.777 MB / 0.6823 GB