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.545/2.545, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001571/0.001571, allocations: 181.1 kB / 370.8 MB, free: 10.83 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.149/2.149, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001106/0.001106, allocations: 99.59 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004739, allocations: 16.41 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2355, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.007037/0.2426, allocations: 5.247 MB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005997/0.2486, allocations: 2.698 MB / 0.986 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.2499, allocations: 39.81 kB / 0.9861 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004893/0.2504, allocations: 158.3 kB / 0.9862 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.2517, allocations: 263 kB / 0.9865 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.2545, allocations: 0.7808 MB / 0.9872 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001464/0.256, allocations: 0.5256 MB / 0.9878 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007924/0.2569, allocations: 489.8 kB / 0.9882 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003482/0.2572, allocations: 230.9 kB / 0.9884 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/0.2576, allocations: 258.5 kB / 0.9887 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.33e-05/0.2577, allocations: 20 kB / 0.9887 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.258, allocations: 99.86 kB / 0.9888 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.2581, allocations: 115.4 kB / 0.9889 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.2583, allocations: 137.3 kB / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008311/0.2591, allocations: 0.7756 MB / 0.9898 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.2591, allocations: 4 kB / 0.9898 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2591, allocations: 0 / 0.9898 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.2591, allocations: 4 kB / 0.9898 GB, free: 16.43 MB / 0.6198 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.002204/0.2614, allocations: 1.015 MB / 0.9908 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.2614, allocations: 15.97 kB / 0.9908 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.2616, allocations: 102.5 kB / 0.9909 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.2618, allocations: 94.92 kB / 0.991 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008671/0.2626, allocations: 0.4921 MB / 0.9915 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.971e-05/0.2627, allocations: 53.25 kB / 0.9915 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.2628, allocations: 64 kB / 0.9916 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.2643, allocations: 0.6114 MB / 0.9922 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.2643, allocations: 0 / 0.9922 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.349e-05/0.2644, allocations: 24 kB / 0.9922 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.2644, allocations: 20 kB / 0.9922 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.2658, allocations: 457 kB / 0.9927 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/0.2699, allocations: 2.351 MB / 0.995 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003337/0.2732, allocations: 0.9603 MB / 0.9959 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-05/0.2733, allocations: 12.38 kB / 0.9959 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007203/0.274, allocations: 269.3 kB / 0.9962 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 3.697e-06/0.2741, allocations: 0 / 0.9962 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.001944/0.276, allocations: 0.7121 MB / 0.9969 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.2761, allocations: 111.2 kB / 0.997 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006977/0.2768, allocations: 0.5107 MB / 0.9975 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.877e-05/0.2769, allocations: 45.69 kB / 0.9975 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.2772, allocations: 356.2 kB / 0.9979 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.2773, allocations: 169.6 kB / 0.998 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.2774, allocations: 12 kB / 0.998 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2775, allocations: 374.8 kB / 0.9984 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006597/0.2782, allocations: 201.2 kB / 0.9986 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007873/0.279, allocations: 402.2 kB / 0.999 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007214/0.2797, allocations: 271.7 kB / 0.9992 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2797, allocations: 0 / 0.9992 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001869/0.2816, allocations: 0.6988 MB / 0.9999 GB, free: 5.617 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003379/0.282, allocations: 1.509 MB / 1.001 GB, free: 3.984 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.282, allocations: 4 kB / 1.001 GB, free: 3.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.2821, allocations: 8 kB / 1.001 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007413/0.2828, allocations: 111.8 kB / 1.001 GB, free: 3.863 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.2828, allocations: 11.94 kB / 1.002 GB, free: 3.852 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.2839, allocations: 135.3 kB / 1.002 GB, free: 3.719 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.478e-05/0.2839, allocations: 24 kB / 1.002 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.284, allocations: 4 kB / 1.002 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001394/0.2854, allocations: 0.5573 MB / 1.002 GB, free: 3.129 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.2854, allocations: 4 kB / 1.002 GB, free: 3.125 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2854, allocations: 8 kB / 1.002 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000596/0.286, allocations: 96.33 kB / 1.002 GB, free: 3.023 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.2861, allocations: 11.95 kB / 1.002 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009012/0.287, allocations: 125.4 kB / 1.002 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/0.287, allocations: 27.94 kB / 1.002 GB, free: 2.863 MB / 0.6198 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.0004489/0.2875, allocations: 286.7 kB / 1.003 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.2876, allocations: 59.25 kB / 1.003 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.2878, allocations: 70.31 kB / 1.003 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.2878, allocations: 8 kB / 1.003 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.2878, allocations: 7.953 kB / 1.003 GB, free: 2.426 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.2878, allocations: 3.984 kB / 1.003 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.2902, allocations: 1.189 MB / 1.004 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.2903, allocations: 0 / 1.004 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006538/0.2909, allocations: 83.89 kB / 1.004 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.291, allocations: 3.953 kB / 1.004 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.291, allocations: 19.98 kB / 1.004 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.291, allocations: 4 kB / 1.004 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.291, allocations: 0 / 1.004 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.293, allocations: 0.7948 MB / 1.005 GB, free: 264 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.2932, allocations: 148.1 kB / 1.005 GB, free: 96 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.937e-05/0.2933, allocations: 15.95 kB / 1.005 GB, free: 80 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004737/0.2938, allocations: 39.97 kB / 1.005 GB, free: 40 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.2939, allocations: 36.38 kB / 1.005 GB, free: 4 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.789e-05/0.294, allocations: 16.05 kB / 1.005 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006574/0.2947, allocations: 354.7 kB / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2947, allocations: 0 / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001213/0.2959, allocations: 279 kB / 1.006 GB, free: 15.37 MB / 0.6355 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.002914/0.2988, allocations: 1.387 MB / 1.007 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00277/0.3016, allocations: 0.9733 MB / 1.008 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.3017, allocations: 0 / 1.008 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007192/0.3024, allocations: 214.4 kB / 1.008 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009569/0.3034, allocations: 110.2 kB / 1.008 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/0.3084, allocations: 4.193 MB / 1.012 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000707/0.3092, allocations: 0.9259 MB / 1.013 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000633/0.3098, allocations: 88.58 kB / 1.013 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005402/0.3104, allocations: 251.3 kB / 1.014 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of SimCode: time 1.373e-06/0.3104, allocations: 0 / 1.014 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05047/0.3609, allocations: 12.45 MB / 1.026 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004113/0.3614, allocations: 208.5 kB / 1.026 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.126/3.488, allocations: 0 / 1.026 GB, free: 10.58 MB / 0.6511 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)