Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.636/2.636, allocations: 284.9 MB / 292.4 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 184.8 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001142, allocations: 96.05 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.726e-05/2.774e-05, allocations: 8 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.843/0.8431, allocations: 115.3 MB / 0.9634 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2447/1.088, allocations: 137.9 MB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/1.088, allocations: 71.95 kB / 1.098 GB, free: 2.48 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Controls/OBC/CDL/Utilities/SunRiseSet.mo:122:7-122:30:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.07822/1.166, allocations: 10.01 MB / 1.108 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.595e-06/1.167, allocations: 0 / 1.108 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.129e-05/1.167, allocations: 4 kB / 1.108 GB, free: 8.543 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.002954/1.17, allocations: 0.6108 MB / 1.109 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.686e-05/1.17, allocations: 12.03 kB / 1.109 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/1.17, allocations: 25 kB / 1.109 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/1.17, allocations: 190.7 kB / 1.109 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/1.17, allocations: 4 kB / 1.109 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/1.17, allocations: 16 kB / 1.109 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003917/1.171, allocations: 95.95 kB / 1.109 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/1.171, allocations: 222.8 kB / 1.109 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/1.171, allocations: 7.875 kB / 1.109 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/1.171, allocations: 4 kB / 1.109 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/1.171, allocations: 4 kB / 1.109 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/1.173, allocations: 0.9169 MB / 1.11 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/1.175, allocations: 467.7 kB / 1.11 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/1.176, allocations: 150.3 kB / 1.111 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.636e-05/1.176, allocations: 7.984 kB / 1.111 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005912/1.176, allocations: 295.2 kB / 1.111 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 3.597e-06/1.176, allocations: 0 / 1.111 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.003811/1.18, allocations: 492.8 kB / 1.111 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002227/1.18, allocations: 354.1 kB / 1.112 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/1.181, allocations: 164.5 kB / 1.112 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.134e-05/1.181, allocations: 29.7 kB / 1.112 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/1.181, allocations: 105.2 kB / 1.112 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/1.181, allocations: 110.5 kB / 1.112 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/1.181, allocations: 0 / 1.112 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.181, allocations: 334.8 kB / 1.112 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000304/1.181, allocations: 89.11 kB / 1.112 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/1.182, allocations: 164.5 kB / 1.113 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004889/1.187, allocations: 437.6 kB / 1.113 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/1.187, allocations: 4 kB / 1.113 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.005544/1.192, allocations: 0.6401 MB / 1.114 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/1.192, allocations: 7.984 kB / 1.114 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/1.192, allocations: 5.875 kB / 1.114 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/1.193, allocations: 4 kB / 1.114 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/1.193, allocations: 71.83 kB / 1.114 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/1.193, allocations: 4 kB / 1.114 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005964/1.194, allocations: 51.66 kB / 1.114 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.368e-05/1.194, allocations: 23.94 kB / 1.114 GB, free: 1.969 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 4 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000199/1.194, allocations: 125.7 kB / 1.114 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003688/1.198, allocations: 0.4983 MB / 1.114 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.163e-05/1.198, allocations: 23.72 kB / 1.114 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/1.199, allocations: 329.1 kB / 1.115 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/1.199, allocations: 8 kB / 1.115 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/1.199, allocations: 11.95 kB / 1.115 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/1.199, allocations: 7.984 kB / 1.115 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005871/1.2, allocations: 294.9 kB / 1.115 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.078e-06/1.2, allocations: 4 kB / 1.115 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006089/1.2, allocations: 75.89 kB / 1.115 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-05/1.2, allocations: 7.938 kB / 1.115 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.333e-05/1.2, allocations: 12 kB / 1.115 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-05/1.2, allocations: 10.42 kB / 1.115 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/1.2, allocations: 4 kB / 1.115 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004024/1.205, allocations: 0.7892 MB / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/1.205, allocations: 144.5 kB / 1.116 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.87e-05/1.205, allocations: 15.98 kB / 1.116 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/1.205, allocations: 23.98 kB / 1.116 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/1.206, allocations: 59.81 kB / 1.116 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.993e-05/1.206, allocations: 20 kB / 1.116 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001581/1.206, allocations: 126.9 kB / 1.116 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.4e-07/1.206, allocations: 0 / 1.116 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001087/1.207, allocations: 199.7 kB / 1.117 GB, free: 15.03 MB / 0.7292 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,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005333/1.212, allocations: 2.279 MB / 1.119 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002647/1.215, allocations: 2.974 MB / 1.122 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.215, allocations: 0 / 1.122 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005458/1.216, allocations: 167.7 kB / 1.122 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/1.216, allocations: 8.344 kB / 1.122 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/1.218, allocations: 0.5268 MB / 1.122 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/1.218, allocations: 0.7651 MB / 1.123 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003981/1.219, allocations: 55.94 kB / 1.123 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/1.219, allocations: 91.39 kB / 1.123 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of SimCode: time 1.463e-06/1.219, allocations: 0 / 1.123 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0531/1.272, allocations: 6.751 MB / 1.13 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004487/1.273, allocations: 179.6 kB / 1.13 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.885/4.158, allocations: 0 / 1.13 GB, free: 1.035 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)