Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 197.4 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 64.31 kB / 0.6718 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2307, allocations: 114.6 MB / 0.7837 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002312/0.233, allocations: 0.9149 MB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003344/0.2364, allocations: 2.512 MB / 0.787 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.47e-05/0.2365, allocations: 3.938 kB / 0.787 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.918e-05/0.2366, allocations: 11.81 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.2368, allocations: 55.56 kB / 0.7871 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.2378, allocations: 0.4905 MB / 0.7875 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.2382, allocations: 319.1 kB / 0.7878 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.52e-05/0.2383, allocations: 13.69 kB / 0.7879 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.2385, allocations: 135.7 kB / 0.788 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.2387, allocations: 155.5 kB / 0.7881 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/0.2388, allocations: 27.94 kB / 0.7882 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006814/0.2394, allocations: 375.7 kB / 0.7885 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.2395, allocations: 59.86 kB / 0.7886 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.2397, allocations: 127.5 kB / 0.7887 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006838/0.2404, allocations: 0.5493 MB / 0.7892 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2404, allocations: 0 / 0.7892 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2404, allocations: 0 / 0.7892 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.2404, allocations: 4 kB / 0.7892 GB, free: 7.48 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001314/0.2417, allocations: 0.6606 MB / 0.7899 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2418, allocations: 8.031 kB / 0.7899 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.07e-05/0.2418, allocations: 46.73 kB / 0.7899 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.382e-05/0.2419, allocations: 20.75 kB / 0.79 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.2421, allocations: 192.7 kB / 0.7901 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.2422, allocations: 135.4 kB / 0.7903 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.2423, allocations: 16.38 kB / 0.7903 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.2426, allocations: 243.7 kB / 0.7905 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2426, allocations: 0 / 0.7905 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.2427, allocations: 4 kB / 0.7905 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2427, allocations: 4 kB / 0.7905 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.2429, allocations: 119.7 kB / 0.7906 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.2434, allocations: 391.2 kB / 0.791 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.2448, allocations: 495.3 kB / 0.7915 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.245, allocations: 162.2 kB / 0.7916 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.245, allocations: 19.92 kB / 0.7917 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004579/0.2455, allocations: 319.5 kB / 0.792 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 1.874e-06/0.2455, allocations: 0 / 0.792 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008067/0.2463, allocations: 413 kB / 0.7924 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/0.2465, allocations: 350.1 kB / 0.7927 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.2466, allocations: 169.9 kB / 0.7929 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.2467, allocations: 41.7 kB / 0.7929 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.2467, allocations: 101 kB / 0.793 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.909e-05/0.2468, allocations: 114.5 kB / 0.7931 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.247, allocations: 98.12 kB / 0.7932 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.2471, allocations: 334.8 kB / 0.7935 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.2473, allocations: 113.1 kB / 0.7936 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.2477, allocations: 172.9 kB / 0.7938 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.2482, allocations: 269.9 kB / 0.794 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2482, allocations: 0 / 0.794 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000698/0.2489, allocations: 375.7 kB / 0.7944 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2489, allocations: 4 kB / 0.7944 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2489, allocations: 4 kB / 0.7944 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2489, allocations: 4 kB / 0.7944 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.2493, allocations: 83.81 kB / 0.7945 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.2493, allocations: 0 / 0.7945 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.2496, allocations: 55.56 kB / 0.7945 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.2497, allocations: 19.98 kB / 0.7946 GB, free: 1.434 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.2498, allocations: 150.8 kB / 0.7947 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.593e-05/0.2499, allocations: 31.69 kB / 0.7947 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006266/0.2505, allocations: 358.7 kB / 0.7951 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.2505, allocations: 8 kB / 0.7951 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.2506, allocations: 4 kB / 0.7951 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.2506, allocations: 7.984 kB / 0.7951 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.2509, allocations: 345.1 kB / 0.7954 GB, free: 500 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2509, allocations: 4 kB / 0.7954 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.2512, allocations: 79.83 kB / 0.7955 GB, free: 416 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/0.2512, allocations: 8.188 kB / 0.7955 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.2513, allocations: 16 kB / 0.7955 GB, free: 392 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.2513, allocations: 7.984 kB / 0.7955 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.2513, allocations: 4 kB / 0.7955 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006658/0.252, allocations: 0.4939 MB / 0.796 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.2521, allocations: 140.6 kB / 0.7962 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.2522, allocations: 19.92 kB / 0.7962 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.2524, allocations: 35.97 kB / 0.7962 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.2525, allocations: 51.89 kB / 0.7963 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.2526, allocations: 23.98 kB / 0.7963 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.443e-05/0.2527, allocations: 128.8 kB / 0.7964 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2527, allocations: 0 / 0.7964 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005734/0.2533, allocations: 215.7 kB / 0.7966 GB, free: 15.2 MB / 0.6231 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,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001373/0.2546, allocations: 1.257 MB / 0.7978 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006329/0.2553, allocations: 339 kB / 0.7982 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2553, allocations: 0 / 0.7982 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.2556, allocations: 191.7 kB / 0.7984 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.2559, allocations: 27.94 kB / 0.7984 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/0.2593, allocations: 2.763 MB / 0.8011 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.2596, allocations: 0.7611 MB / 0.8018 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001828/0.2598, allocations: 54.69 kB / 0.8019 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.26, allocations: 103.4 kB / 0.802 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.26, allocations: 0 / 0.802 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.2856, allocations: 7.816 MB / 0.8096 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.07, allocations: 11.45 kB / 0.8096 GB, free: 1.805 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.csv --start-time 43200 --stop-time 345600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)