Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",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.625/2.625, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001615/0.001615, allocations: 190.7 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.128/2.128, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001166/0.001166, allocations: 100.7 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004696, allocations: 15.5 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2149, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001095/0.2161, allocations: 0.595 MB / 0.9789 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003383/0.2195, allocations: 2.326 MB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.755e-05/0.2197, allocations: 7.938 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.2197, allocations: 3.938 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.22, allocations: 59.75 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.2212, allocations: 363 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.2216, allocations: 175.7 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.12e-05/0.2217, allocations: 21.59 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.222, allocations: 147.6 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.2223, allocations: 127.6 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.834e-05/0.2223, allocations: 12 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000919/0.2233, allocations: 275.7 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.411e-05/0.2234, allocations: 59.78 kB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.698e-05/0.2235, allocations: 57.64 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007769/0.2242, allocations: 379.1 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2243, allocations: 0 / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2243, allocations: 0 / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.2243, allocations: 0 / 0.9828 GB, free: 23.68 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001808/0.2261, allocations: 0.6302 MB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.2262, allocations: 12.02 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.831e-05/0.2262, allocations: 54.47 kB / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.66e-05/0.2263, allocations: 23.77 kB / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.2265, allocations: 178.9 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.2267, allocations: 134.7 kB / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.625e-05/0.2267, allocations: 16 kB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.2273, allocations: 255.5 kB / 0.984 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.2273, allocations: 0 / 0.984 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.2273, allocations: 12 kB / 0.984 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.2274, allocations: 4 kB / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003548/0.2277, allocations: 127.7 kB / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.2288, allocations: 0.9472 MB / 0.9851 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.2312, allocations: 0.4917 MB / 0.9856 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.634e-05/0.2313, allocations: 16.17 kB / 0.9856 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005524/0.2318, allocations: 308 kB / 0.9859 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 4.097e-06/0.2318, allocations: 0 / 0.9859 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.001147/0.233, allocations: 397 kB / 0.9862 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.2331, allocations: 354.1 kB / 0.9866 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.2333, allocations: 176.8 kB / 0.9867 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/0.2334, allocations: 41.7 kB / 0.9868 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.2335, allocations: 104.9 kB / 0.9869 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.2336, allocations: 107 kB / 0.987 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.2336, allocations: 12 kB / 0.987 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.2337, allocations: 338.8 kB / 0.9873 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004147/0.2341, allocations: 105.1 kB / 0.9874 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.2346, allocations: 172.4 kB / 0.9876 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/0.235, allocations: 123.8 kB / 0.9877 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.235, allocations: 0 / 0.9877 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001135/0.2362, allocations: 365.8 kB / 0.9881 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.2362, allocations: 8 kB / 0.9881 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.2363, allocations: 3.953 kB / 0.9881 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.2363, allocations: 8.172 kB / 0.9881 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006788/0.237, allocations: 79.89 kB / 0.9882 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.237, allocations: 11.92 kB / 0.9882 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005356/0.2375, allocations: 51.67 kB / 0.9882 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.563e-05/0.2376, allocations: 20.98 kB / 0.9882 GB, free: 17.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * 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.0001957/0.2378, allocations: 159.8 kB / 0.9884 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.2379, allocations: 27.72 kB / 0.9884 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009864/0.2389, allocations: 365.8 kB / 0.9888 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.2389, allocations: 19.95 kB / 0.9888 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.239, allocations: 0 / 0.9888 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.239, allocations: 7.984 kB / 0.9888 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.2395, allocations: 353.1 kB / 0.9891 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.2395, allocations: 0 / 0.9891 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005409/0.24, allocations: 75.84 kB / 0.9892 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.2401, allocations: 8 kB / 0.9892 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/0.2401, allocations: 15.98 kB / 0.9892 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.166e-06/0.2401, allocations: 8 kB / 0.9892 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.2402, allocations: 7.953 kB / 0.9892 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009846/0.2412, allocations: 0.6019 MB / 0.9898 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.2414, allocations: 148.6 kB / 0.99 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.782e-05/0.2415, allocations: 19.98 kB / 0.99 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/0.2419, allocations: 31.98 kB / 0.99 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.2421, allocations: 63.81 kB / 0.9901 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.2422, allocations: 20.25 kB / 0.9901 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001295/0.2423, allocations: 131.2 kB / 0.9902 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2423, allocations: 0 / 0.9902 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008514/0.2432, allocations: 199.8 kB / 0.9904 GB, free: 15.07 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002146/0.2453, allocations: 2.124 MB / 0.9925 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.2464, allocations: 320.3 kB / 0.9928 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.2465, allocations: 0 / 0.9928 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.2469, allocations: 175.7 kB / 0.993 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.2473, allocations: 32.11 kB / 0.993 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.2495, allocations: 2.055 MB / 0.995 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.2497, allocations: 0.7613 MB / 0.9957 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000415/0.2502, allocations: 59.67 kB / 0.9958 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.2504, allocations: 91.39 kB / 0.9959 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of SimCode: time 1.653e-06/0.2505, allocations: 0 / 0.9959 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04027/0.2907, allocations: 7.178 MB / 1.003 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.291, allocations: 188.5 kB / 1.003 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.765/3.056, allocations: 0 / 1.003 GB, free: 1.973 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)