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.001106/0.001106, allocations: 101.4 kB / 15.7 MB, free: 28 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.001171/0.001171, allocations: 196.3 kB / 16.64 MB, free: 6.477 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.396/1.396, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.769/1.769, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001867/0.001867, allocations: 68.77 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2651, allocations: 114.5 MB / 0.7837 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002896/0.2681, allocations: 0.9072 MB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003425/0.2715, allocations: 2.515 MB / 0.787 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.2717, allocations: 3.938 kB / 0.787 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.798e-05/0.2718, allocations: 11.81 kB / 0.787 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.2721, allocations: 55.61 kB / 0.7871 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.2735, allocations: 0.4937 MB / 0.7875 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004003/0.2739, allocations: 323.1 kB / 0.7879 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.396e-05/0.274, allocations: 13.67 kB / 0.7879 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002771/0.2743, allocations: 139.7 kB / 0.788 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.2745, allocations: 147.5 kB / 0.7881 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.018e-05/0.2746, allocations: 27.94 kB / 0.7882 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007191/0.2753, allocations: 375.7 kB / 0.7885 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.141e-05/0.2754, allocations: 67.78 kB / 0.7886 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.2756, allocations: 119.5 kB / 0.7887 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008342/0.2764, allocations: 0.5455 MB / 0.7892 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2764, allocations: 0 / 0.7892 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.208e-06/0.2764, allocations: 3.984 kB / 0.7892 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.2764, allocations: 4 kB / 0.7892 GB, free: 7.516 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.001377/0.2778, allocations: 0.6567 MB / 0.7899 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2779, allocations: 12.02 kB / 0.7899 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.497e-05/0.278, allocations: 46.73 kB / 0.7899 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.214e-05/0.278, allocations: 20.75 kB / 0.79 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.2782, allocations: 196.7 kB / 0.7901 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.2784, allocations: 131.4 kB / 0.7903 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.2784, allocations: 16.38 kB / 0.7903 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.2788, allocations: 243.7 kB / 0.7905 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.2788, allocations: 3.938 kB / 0.7905 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.2789, allocations: 4 kB / 0.7905 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.2789, allocations: 15.92 kB / 0.7905 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.2791, allocations: 115.8 kB / 0.7907 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.2796, allocations: 395.1 kB / 0.791 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.281, allocations: 495.3 kB / 0.7915 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.2812, allocations: 158.3 kB / 0.7917 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/0.2813, allocations: 15.92 kB / 0.7917 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005263/0.2818, allocations: 319.5 kB / 0.792 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.134e-06/0.2818, allocations: 0 / 0.792 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008943/0.2827, allocations: 409.6 kB / 0.7924 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/0.2829, allocations: 350.1 kB / 0.7927 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.2831, allocations: 169.9 kB / 0.7929 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.2832, allocations: 41.7 kB / 0.7929 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/0.2832, allocations: 101 kB / 0.793 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.2833, allocations: 110.5 kB / 0.7931 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.2835, allocations: 98.12 kB / 0.7932 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2836, allocations: 334.8 kB / 0.7935 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.2839, allocations: 113.1 kB / 0.7936 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.2842, allocations: 169 kB / 0.7938 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.2848, allocations: 266.9 kB / 0.794 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2848, allocations: 0 / 0.794 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007475/0.2856, allocations: 379.7 kB / 0.7944 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2856, allocations: 4 kB / 0.7944 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2856, allocations: 5 kB / 0.7944 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2856, allocations: 4 kB / 0.7944 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.286, allocations: 79.88 kB / 0.7945 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.286, allocations: 0 / 0.7945 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.2863, allocations: 55.56 kB / 0.7945 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.2864, allocations: 19.98 kB / 0.7946 GB, free: 1.473 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.0001651/0.2865, allocations: 153.8 kB / 0.7947 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.972e-05/0.2866, allocations: 35.73 kB / 0.7947 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006833/0.2873, allocations: 354 kB / 0.7951 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.2874, allocations: 8 kB / 0.7951 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.2874, allocations: 4 kB / 0.7951 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.2874, allocations: 11.92 kB / 0.7951 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.2878, allocations: 349.1 kB / 0.7954 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.2878, allocations: 4 kB / 0.7954 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.2881, allocations: 71.91 kB / 0.7955 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.2881, allocations: 11.98 kB / 0.7955 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.2882, allocations: 16 kB / 0.7955 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/0.2882, allocations: 4 kB / 0.7955 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.2882, allocations: 7.938 kB / 0.7955 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007406/0.2889, allocations: 0.4941 MB / 0.796 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.2891, allocations: 144.6 kB / 0.7962 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.2892, allocations: 19.98 kB / 0.7962 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.2894, allocations: 35.97 kB / 0.7962 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.2895, allocations: 51.89 kB / 0.7963 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.2896, allocations: 23.98 kB / 0.7963 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001025/0.2897, allocations: 128.8 kB / 0.7964 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2897, allocations: 3.938 kB / 0.7964 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006735/0.2904, allocations: 219.7 kB / 0.7966 GB, free: 15.22 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.001515/0.2919, allocations: 1.245 MB / 0.7978 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006824/0.2926, allocations: 338.8 kB / 0.7982 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2926, allocations: 0 / 0.7982 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.2929, allocations: 191.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.0002892/0.2932, allocations: 27.94 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.004279/0.2975, allocations: 2.767 MB / 0.8011 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.298, allocations: 0.7611 MB / 0.8018 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002072/0.2982, allocations: 50.7 kB / 0.8019 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.2984, allocations: 99.39 kB / 0.802 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of SimCode: time 1.333e-06/0.2984, allocations: 0 / 0.802 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.3287, allocations: 7.822 MB / 0.8096 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.939/8.268, allocations: 10.3 kB / 0.8096 GB, free: 1.836 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --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)