Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 109.4 kB / 15.69 MB, free: 128 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.001653/0.001653, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.446/1.446, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.754/1.754, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001578/0.001578, allocations: 71.78 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2418, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002062/0.2439, allocations: 0.9072 MB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002952/0.2469, allocations: 2.515 MB / 0.787 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.668e-05/0.247, allocations: 3.938 kB / 0.787 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.596e-05/0.2471, allocations: 15.8 kB / 0.787 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.2473, allocations: 47.62 kB / 0.787 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.2483, allocations: 0.4944 MB / 0.7875 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.2487, allocations: 315.1 kB / 0.7878 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.921e-05/0.2487, allocations: 21.66 kB / 0.7879 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.2489, allocations: 139.6 kB / 0.788 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.2492, allocations: 147.5 kB / 0.7881 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.209e-05/0.2492, allocations: 24 kB / 0.7881 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005917/0.2498, allocations: 371.7 kB / 0.7885 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.222e-05/0.2499, allocations: 71.78 kB / 0.7886 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.25, allocations: 119.5 kB / 0.7887 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006363/0.2506, allocations: 0.5532 MB / 0.7892 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2507, allocations: 0 / 0.7892 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2507, allocations: 0 / 0.7892 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.2507, allocations: 0 / 0.7892 GB, free: 7.52 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.001385/0.2521, allocations: 0.6683 MB / 0.7899 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.2521, allocations: 8.031 kB / 0.7899 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.398e-05/0.2522, allocations: 50.73 kB / 0.7899 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.719e-05/0.2523, allocations: 24.73 kB / 0.79 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.2524, allocations: 188.7 kB / 0.7901 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.2526, allocations: 123.4 kB / 0.7903 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.2526, allocations: 24.38 kB / 0.7903 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.253, allocations: 239.7 kB / 0.7905 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.253, allocations: 0 / 0.7905 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.253, allocations: 8 kB / 0.7905 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.253, allocations: 4 kB / 0.7905 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.2532, allocations: 123.7 kB / 0.7906 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.2537, allocations: 387.2 kB / 0.791 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.2551, allocations: 495.2 kB / 0.7915 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.2553, allocations: 162.3 kB / 0.7916 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.2554, allocations: 19.91 kB / 0.7917 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000438/0.2558, allocations: 311.5 kB / 0.7919 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.2558, allocations: 0 / 0.7919 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0007893/0.2566, allocations: 413.3 kB / 0.7923 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/0.2568, allocations: 354.2 kB / 0.7927 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.2569, allocations: 173.3 kB / 0.7928 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.257, allocations: 37.7 kB / 0.7929 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.257, allocations: 105 kB / 0.793 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.584e-05/0.2571, allocations: 106.5 kB / 0.7931 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.2573, allocations: 102.1 kB / 0.7932 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.2574, allocations: 338.8 kB / 0.7935 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.2577, allocations: 109.1 kB / 0.7936 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.258, allocations: 169 kB / 0.7938 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/0.2585, allocations: 269.1 kB / 0.794 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2585, allocations: 1 kB / 0.794 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007382/0.2592, allocations: 376.6 kB / 0.7944 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2593, allocations: 4 kB / 0.7944 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.2593, allocations: 4 kB / 0.7944 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2593, allocations: 0 / 0.7944 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.2597, allocations: 83.81 kB / 0.7945 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.2597, allocations: 4 kB / 0.7945 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.26, allocations: 55.5 kB / 0.7945 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.26, allocations: 23.92 kB / 0.7946 GB, free: 1.469 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.0001458/0.2602, allocations: 159.2 kB / 0.7947 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/0.2602, allocations: 27.73 kB / 0.7947 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006335/0.2609, allocations: 362 kB / 0.7951 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.2609, allocations: 8 kB / 0.7951 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.2609, allocations: 4 kB / 0.7951 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.2609, allocations: 4 kB / 0.7951 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.2613, allocations: 353 kB / 0.7954 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.2613, allocations: 4 kB / 0.7954 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.2616, allocations: 71.84 kB / 0.7955 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.2616, allocations: 8 kB / 0.7955 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.2616, allocations: 19.98 kB / 0.7955 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.391e-06/0.2616, allocations: 4 kB / 0.7955 GB, free: 416 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2617, allocations: 4 kB / 0.7955 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000676/0.2623, allocations: 0.498 MB / 0.796 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.2625, allocations: 144.6 kB / 0.7962 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.349e-05/0.2626, allocations: 19.98 kB / 0.7962 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.2628, allocations: 23.98 kB / 0.7962 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.2629, allocations: 59.81 kB / 0.7963 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.263, allocations: 23.98 kB / 0.7963 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000111/0.2631, allocations: 132.8 kB / 0.7964 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2631, allocations: 0 / 0.7964 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005619/0.2636, allocations: 215.7 kB / 0.7966 GB, free: 15.23 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.0014/0.2651, allocations: 1.253 MB / 0.7978 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006487/0.2657, allocations: 335.6 kB / 0.7982 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2657, allocations: 0 / 0.7982 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003127/0.2661, allocations: 183.7 kB / 0.7983 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.2663, allocations: 35.92 kB / 0.7984 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/0.2701, allocations: 2.762 MB / 0.8011 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.2704, allocations: 0.7572 MB / 0.8018 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001912/0.2706, allocations: 58.81 kB / 0.8019 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.2708, allocations: 91.39 kB / 0.8019 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.2708, allocations: 0 / 0.8019 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.2961, allocations: 7.818 MB / 0.8096 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/8.068, allocations: 8.047 kB / 0.8096 GB, free: 1.844 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.csv --start-time -43200 --stop-time 259200 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)