Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",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 3.062/3.062, allocations: 287.5 MB / 302.4 MB, free: 8.301 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.001395/0.001394, allocations: 188.5 kB / 371 MB, free: 10.86 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.113/2.113, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009969/0.0009964, allocations: 89.34 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007226/0.0007228, allocations: 15.38 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2273, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001087/0.2285, allocations: 0.5833 MB / 0.979 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003386/0.2319, allocations: 2.322 MB / 0.9813 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.276e-05/0.232, allocations: 3.938 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.385e-05/0.2321, allocations: 11.88 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.2323, allocations: 47.67 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.2335, allocations: 363 kB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.2339, allocations: 259.1 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.889e-05/0.234, allocations: 21.55 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.2343, allocations: 131.6 kB / 0.9821 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.2346, allocations: 131.5 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.616e-05/0.2346, allocations: 12 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009135/0.2356, allocations: 271.8 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.073e-05/0.2356, allocations: 55.8 kB / 0.9826 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.459e-05/0.2357, allocations: 57.64 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006781/0.2364, allocations: 387.1 kB / 0.983 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.2364, allocations: 0 / 0.983 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2365, allocations: 0 / 0.983 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.2365, allocations: 0 / 0.983 GB, free: 23.59 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.001801/0.2383, allocations: 0.6224 MB / 0.9836 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.2383, allocations: 12.03 kB / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.158e-05/0.2384, allocations: 46.55 kB / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.164e-05/0.2385, allocations: 23.77 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.2386, allocations: 186.8 kB / 0.9838 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.2388, allocations: 126.8 kB / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.909e-05/0.2389, allocations: 16 kB / 0.984 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.2394, allocations: 259.4 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.2394, allocations: 4 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.2394, allocations: 8 kB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.2394, allocations: 4 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003496/0.2398, allocations: 115.7 kB / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009941/0.2408, allocations: 0.9628 MB / 0.9853 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.2431, allocations: 499.2 kB / 0.9858 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.2434, allocations: 150.3 kB / 0.9859 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.191e-05/0.2435, allocations: 11.94 kB / 0.9859 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005579/0.2441, allocations: 308 kB / 0.9862 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 4.348e-06/0.2441, allocations: 0 / 0.9862 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.001158/0.2453, allocations: 398.2 kB / 0.9866 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.2454, allocations: 358.1 kB / 0.9869 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.2456, allocations: 176.1 kB / 0.9871 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.2456, allocations: 37.7 kB / 0.9871 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.2457, allocations: 104.9 kB / 0.9872 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.929e-05/0.2458, allocations: 110.5 kB / 0.9874 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.2459, allocations: 8 kB / 0.9874 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.2459, allocations: 338.8 kB / 0.9877 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/0.2464, allocations: 105.1 kB / 0.9878 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/0.2468, allocations: 184.2 kB / 0.988 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.2473, allocations: 111.9 kB / 0.9881 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2473, allocations: 0 / 0.9881 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001118/0.2484, allocations: 374 kB / 0.9884 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.2485, allocations: 7.953 kB / 0.9884 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2485, allocations: 4 kB / 0.9884 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.2485, allocations: 4 kB / 0.9884 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000678/0.2492, allocations: 83.8 kB / 0.9885 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.2492, allocations: 8.125 kB / 0.9885 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005243/0.2498, allocations: 59.66 kB / 0.9886 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/0.2498, allocations: 19.98 kB / 0.9886 GB, free: 17.23 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.0002034/0.2501, allocations: 153.8 kB / 0.9887 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.572e-05/0.2501, allocations: 27.66 kB / 0.9888 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.2512, allocations: 369.8 kB / 0.9891 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.2512, allocations: 8 kB / 0.9891 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.2512, allocations: 8 kB / 0.9891 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.2512, allocations: 7.984 kB / 0.9891 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.2517, allocations: 349.1 kB / 0.9895 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.2517, allocations: 4 kB / 0.9895 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005414/0.2523, allocations: 75.84 kB / 0.9896 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.2523, allocations: 4 kB / 0.9896 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/0.2524, allocations: 19.98 kB / 0.9896 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.217e-06/0.2524, allocations: 7.953 kB / 0.9896 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/0.2524, allocations: 4 kB / 0.9896 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009146/0.2533, allocations: 493.8 kB / 0.9901 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.2535, allocations: 148.6 kB / 0.9902 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.657e-05/0.2536, allocations: 19.94 kB / 0.9902 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.2541, allocations: 31.97 kB / 0.9903 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.2542, allocations: 59.89 kB / 0.9903 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/0.2543, allocations: 24.17 kB / 0.9903 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001218/0.2544, allocations: 123.2 kB / 0.9905 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2544, allocations: 0 / 0.9905 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008625/0.2553, allocations: 207.8 kB / 0.9907 GB, free: 15 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.001774/0.2571, allocations: 1.234 MB / 0.9919 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009893/0.2581, allocations: 316 kB / 0.9922 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.2581, allocations: 0 / 0.9922 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000437/0.2586, allocations: 188.5 kB / 0.9923 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.259, allocations: 32.12 kB / 0.9924 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.2625, allocations: 1.539 MB / 0.9939 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.2628, allocations: 0.7614 MB / 0.9946 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003918/0.2632, allocations: 57.42 kB / 0.9947 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.2635, allocations: 91.39 kB / 0.9948 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of SimCode: time 1.142e-06/0.2635, allocations: 4 kB / 0.9948 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03941/0.3029, allocations: 7.222 MB / 1.002 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003075/0.3033, allocations: 220.3 kB / 1.002 GB, free: 3.332 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.895/3.199, allocations: 0 / 1.002 GB, free: 3.332 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)