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.001321/0.001321, allocations: 108 kB / 15.61 MB, free: 152 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.001354/0.001354, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.569/2.569, allocations: 469.8 MB / 0.7424 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 70.2 kB / 0.9087 GB, free: 34.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2558, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002047/0.2579, allocations: 0.892 MB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003034/0.2609, allocations: 2.476 MB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.154e-05/0.261, allocations: 7.938 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.533e-05/0.2611, allocations: 19.8 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.2613, allocations: 47.56 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.2625, allocations: 0.4915 MB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.2628, allocations: 315.1 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.696e-05/0.2629, allocations: 21.59 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.2631, allocations: 139.6 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.2633, allocations: 151.5 kB / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.223e-05/0.2634, allocations: 24 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005866/0.264, allocations: 311.8 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.017e-05/0.2641, allocations: 67.8 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.2642, allocations: 115.5 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007635/0.265, allocations: 0.5532 MB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.265, allocations: 0 / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.265, allocations: 0 / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.265, allocations: 3.984 kB / 1.07 GB, free: 8.566 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.001382/0.2664, allocations: 0.6528 MB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2664, allocations: 12.02 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.783e-05/0.2665, allocations: 50.73 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.113e-05/0.2666, allocations: 24.66 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.2667, allocations: 188.8 kB / 1.07 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.2669, allocations: 131.4 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.2669, allocations: 16.38 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.2673, allocations: 252.2 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2673, allocations: 0 / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.2674, allocations: 8 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2674, allocations: 7.938 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.2676, allocations: 115.7 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.2681, allocations: 395.1 kB / 1.071 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.2695, allocations: 495.3 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.2698, allocations: 162.2 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/0.2698, allocations: 19.91 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004502/0.2703, allocations: 319.5 kB / 1.072 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 2.244e-06/0.2703, allocations: 0 / 1.072 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.0008034/0.2711, allocations: 409.8 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001871/0.2713, allocations: 354.6 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.2715, allocations: 173.8 kB / 1.073 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/0.2715, allocations: 41.7 kB / 1.073 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.2716, allocations: 97.12 kB / 1.073 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.2717, allocations: 114.4 kB / 1.073 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.2718, allocations: 94.22 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.272, allocations: 330.8 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.2723, allocations: 121.1 kB / 1.074 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.2726, allocations: 169 kB / 1.074 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005412/0.2731, allocations: 263.9 kB / 1.074 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2731, allocations: 0 / 1.074 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007623/0.2739, allocations: 384.5 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.2739, allocations: 4 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.2739, allocations: 0 / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2739, allocations: 4 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.2743, allocations: 79.81 kB / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.2743, allocations: 4 kB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.2746, allocations: 51.66 kB / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.2747, allocations: 19.98 kB / 1.075 GB, free: 2.527 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.00015/0.2748, allocations: 154.5 kB / 1.075 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.438e-05/0.2749, allocations: 31.64 kB / 1.075 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006633/0.2756, allocations: 358.6 kB / 1.075 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.2756, allocations: 12 kB / 1.075 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.2756, allocations: 4 kB / 1.075 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.2756, allocations: 3.984 kB / 1.075 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.276, allocations: 357 kB / 1.076 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.276, allocations: 0 / 1.076 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.2763, allocations: 75.84 kB / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.2763, allocations: 7.984 kB / 1.076 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.2763, allocations: 12 kB / 1.076 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.475e-06/0.2764, allocations: 12 kB / 1.076 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2764, allocations: 0 / 1.076 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006988/0.2771, allocations: 0.49 MB / 1.076 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.2772, allocations: 152.5 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.2773, allocations: 19.98 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.2775, allocations: 31.97 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/0.2776, allocations: 55.77 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.2777, allocations: 23.98 kB / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.697e-05/0.2778, allocations: 123.2 kB / 1.077 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2778, allocations: 0 / 1.077 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005296/0.2783, allocations: 219.7 kB / 1.077 GB, free: 288 kB / 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.001413/0.2797, allocations: 1.249 MB / 1.078 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006621/0.2804, allocations: 360.5 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2804, allocations: 0 / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002823/0.2807, allocations: 183.7 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.281, allocations: 35.92 kB / 1.079 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.2846, allocations: 2.751 MB / 1.081 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.2849, allocations: 0.7572 MB / 1.082 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002038/0.2851, allocations: 49.7 kB / 1.082 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.2853, allocations: 98.52 kB / 1.082 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.2853, allocations: 0 / 1.082 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4181/0.7034, allocations: 7.81 MB / 1.09 GB, free: 2.891 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.87, allocations: 6.484 kB / 1.09 GB, free: 2.887 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)