Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",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.596/2.596, allocations: 287.3 MB / 302.3 MB, free: 8.18 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.001493/0.001492, allocations: 175.1 kB / 370.8 MB, free: 10.88 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.188/2.188, allocations: 205.4 MB / 0.6295 GB, free: 10.54 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.001084/0.001083, allocations: 94.17 kB / 0.7428 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 12.59 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2215, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001076/0.2226, allocations: 0.5872 MB / 0.9789 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003413/0.226, allocations: 2.338 MB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.2262, allocations: 0 / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.2263, allocations: 11.86 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.2265, allocations: 47.91 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.2279, allocations: 367 kB / 0.9816 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.2283, allocations: 183.6 kB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.182e-05/0.2284, allocations: 21.61 kB / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.2287, allocations: 139.6 kB / 0.9819 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.229, allocations: 127.6 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.229, allocations: 12 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008663/0.2299, allocations: 287.7 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.212e-05/0.23, allocations: 51.86 kB / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.517e-05/0.2301, allocations: 61.58 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007813/0.2309, allocations: 379.1 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2309, allocations: 0 / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.225e-06/0.2309, allocations: 0 / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.2309, allocations: 0 / 0.9828 GB, free: 23.7 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.002115/0.233, allocations: 0.6302 MB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.2331, allocations: 8.031 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.2333, allocations: 46.55 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.2334, allocations: 23.77 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.2336, allocations: 190.7 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002849/0.2339, allocations: 126.8 kB / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.774e-05/0.234, allocations: 23.98 kB / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007181/0.2348, allocations: 251.5 kB / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.2348, allocations: 3.938 kB / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.311e-05/0.2349, allocations: 8 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.2349, allocations: 4 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005335/0.2355, allocations: 123.8 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.2371, allocations: 0.9511 MB / 0.9851 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003465/0.2406, allocations: 499.4 kB / 0.9856 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.505e-05/0.2407, allocations: 16.25 kB / 0.9856 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008216/0.2416, allocations: 300 kB / 0.9859 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 5.14e-06/0.2416, allocations: 0 / 0.9859 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.001833/0.2435, allocations: 401.8 kB / 0.9862 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.2437, allocations: 354.6 kB / 0.9866 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.244, allocations: 180.1 kB / 0.9868 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.779e-05/0.2441, allocations: 37.7 kB / 0.9868 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.524e-05/0.2442, allocations: 112.9 kB / 0.9869 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.2444, allocations: 106.5 kB / 0.987 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.2444, allocations: 8 kB / 0.987 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2446, allocations: 330.8 kB / 0.9873 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006361/0.2452, allocations: 116.9 kB / 0.9874 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007321/0.246, allocations: 172.4 kB / 0.9876 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00071/0.2467, allocations: 124.6 kB / 0.9877 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.485e-06/0.2467, allocations: 8 kB / 0.9877 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001777/0.2485, allocations: 361 kB / 0.9881 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.2486, allocations: 4 kB / 0.9881 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.2486, allocations: 7.953 kB / 0.9881 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.274e-05/0.2487, allocations: 4 kB / 0.9881 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.2498, allocations: 83.81 kB / 0.9882 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.2499, allocations: 4 kB / 0.9882 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008911/0.2508, allocations: 55.66 kB / 0.9882 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.008e-05/0.2509, allocations: 23.98 kB / 0.9882 GB, free: 17.52 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.0003029/0.2512, allocations: 149.7 kB / 0.9884 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.2514, allocations: 23.72 kB / 0.9884 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/0.2529, allocations: 366.1 kB / 0.9888 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/0.253, allocations: 16.31 kB / 0.9888 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/0.253, allocations: 4 kB / 0.9888 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.978e-05/0.2531, allocations: 4 kB / 0.9888 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008117/0.2539, allocations: 349.1 kB / 0.9891 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.2539, allocations: 12.12 kB / 0.9891 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008974/0.2549, allocations: 75.84 kB / 0.9892 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.668e-05/0.2549, allocations: 4.375 kB / 0.9892 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.806e-05/0.255, allocations: 23.97 kB / 0.9892 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/0.255, allocations: 8 kB / 0.9892 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/0.255, allocations: 11.89 kB / 0.9892 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.2565, allocations: 0.6058 MB / 0.9898 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/0.2569, allocations: 148.6 kB / 0.99 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.257, allocations: 15.98 kB / 0.99 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000664/0.2577, allocations: 39.97 kB / 0.99 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.258, allocations: 47.89 kB / 0.9901 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-05/0.2581, allocations: 24 kB / 0.9901 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001924/0.2583, allocations: 131.2 kB / 0.9902 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.51e-07/0.2583, allocations: 0 / 0.9902 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00132/0.2596, allocations: 203.8 kB / 0.9904 GB, free: 15.09 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.002823/0.2625, allocations: 2.117 MB / 0.9925 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.2639, allocations: 315.5 kB / 0.9928 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.2639, allocations: 0 / 0.9928 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005628/0.2645, allocations: 184.5 kB / 0.993 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.2649, allocations: 24.12 kB / 0.993 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.2677, allocations: 2.053 MB / 0.995 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.268, allocations: 0.7652 MB / 0.9957 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005495/0.2686, allocations: 61.8 kB / 0.9958 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.2689, allocations: 91.39 kB / 0.9959 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/0.2689, allocations: 0 / 0.9959 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.306, allocations: 7.201 MB / 1.003 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003766/0.3065, allocations: 208.4 kB / 1.003 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.774/3.08, allocations: 0 / 1.003 GB, free: 2.012 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)