Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_11_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.001698/0.001698, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 192.8 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.594/2.594, allocations: 469.8 MB / 0.7421 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 66.39 kB / 0.9082 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2469, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001872/0.2488, allocations: 0.9679 MB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002674/0.2515, allocations: 2.471 MB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.2515, allocations: 3.938 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.2516, allocations: 7.938 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.2518, allocations: 43.67 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008408/0.2526, allocations: 456.1 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.2529, allocations: 307.2 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.166e-05/0.253, allocations: 21.61 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.2531, allocations: 151.5 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.2533, allocations: 151.5 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.2534, allocations: 24 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004522/0.2538, allocations: 311.8 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.2539, allocations: 75.78 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.254, allocations: 115.5 kB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000606/0.2546, allocations: 0.5415 MB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2547, allocations: 8 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2547, allocations: 0 / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2547, allocations: 0 / 1.069 GB, free: 8.898 MB / 0.8262 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.001258/0.2559, allocations: 0.6567 MB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.256, allocations: 8.031 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.687e-05/0.256, allocations: 46.73 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/0.2561, allocations: 28.59 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.2562, allocations: 189.6 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.2564, allocations: 131.4 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.2564, allocations: 16.38 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.2568, allocations: 247.6 kB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2568, allocations: 7.938 kB / 1.07 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.2568, allocations: 7.984 kB / 1.07 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.2568, allocations: 7.984 kB / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.2571, allocations: 115.7 kB / 1.07 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.2575, allocations: 395.1 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.2589, allocations: 499.3 kB / 1.071 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.2591, allocations: 158.2 kB / 1.071 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.2591, allocations: 11.92 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004241/0.2596, allocations: 315.5 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 1.693e-06/0.2596, allocations: 0 / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.0007566/0.2603, allocations: 409.7 kB / 1.072 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001736/0.2605, allocations: 354.6 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.2607, allocations: 180.6 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.2607, allocations: 37.7 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.2608, allocations: 97.14 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.2609, allocations: 118.4 kB / 1.073 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.261, allocations: 90.23 kB / 1.073 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.2612, allocations: 334.8 kB / 1.073 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.2614, allocations: 121 kB / 1.073 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.2617, allocations: 169 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005065/0.2622, allocations: 265 kB / 1.074 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.2622, allocations: 4 kB / 1.074 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007212/0.263, allocations: 375 kB / 1.074 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.263, allocations: 15.98 kB / 1.074 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.263, allocations: 0 / 1.074 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.263, allocations: 4 kB / 1.074 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.2634, allocations: 75.83 kB / 1.074 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.2634, allocations: 7.984 kB / 1.074 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.2637, allocations: 47.67 kB / 1.074 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.2637, allocations: 19.98 kB / 1.074 GB, free: 2.855 MB / 0.8262 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.0001464/0.2639, allocations: 157.8 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.2639, allocations: 27.66 kB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000659/0.2646, allocations: 363.2 kB / 1.075 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.2646, allocations: 12 kB / 1.075 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2646, allocations: 0 / 1.075 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.2647, allocations: 7.984 kB / 1.075 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.265, allocations: 357 kB / 1.075 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.265, allocations: 4 kB / 1.075 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.2653, allocations: 71.84 kB / 1.075 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.2653, allocations: 4 kB / 1.075 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.2654, allocations: 19.98 kB / 1.075 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.2654, allocations: 7.938 kB / 1.075 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2654, allocations: 8 kB / 1.075 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006606/0.2661, allocations: 497.8 kB / 1.076 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.2662, allocations: 152.5 kB / 1.076 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.2663, allocations: 16 kB / 1.076 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.2665, allocations: 31.97 kB / 1.076 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.2666, allocations: 55.81 kB / 1.076 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.2667, allocations: 23.94 kB / 1.076 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9e-05/0.2667, allocations: 127.2 kB / 1.076 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2668, allocations: 0 / 1.076 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000466/0.2672, allocations: 215.7 kB / 1.076 GB, free: 0.5977 MB / 0.8262 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.001319/0.2685, allocations: 1.252 MB / 1.078 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006097/0.2692, allocations: 348.5 kB / 1.078 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2692, allocations: 0 / 1.078 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.2695, allocations: 187.7 kB / 1.078 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.2697, allocations: 34 kB / 1.078 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.2732, allocations: 2.849 MB / 1.081 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.2735, allocations: 0.7572 MB / 1.082 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000208/0.2737, allocations: 60.67 kB / 1.082 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.2739, allocations: 95.39 kB / 1.082 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.2739, allocations: 0 / 1.082 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6497/0.9236, allocations: 7.605 MB / 1.089 GB, free: 3.367 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/0.9239, allocations: 237.9 kB / 1.09 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.773/3.697, allocations: 0 / 1.09 GB, free: 3.105 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)