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.628/2.628, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.001614/0.001614, allocations: 176.2 kB / 370.8 MB, free: 10.85 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.103/2.103, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 91.38 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006649/0.0006649, allocations: 11.78 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.222, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9142/1.136, allocations: 138.6 MB / 1.114 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/1.137, allocations: 74.14 kB / 1.114 GB, free: 15.3 MB / 0.6823 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.05063/1.187, allocations: 10.09 MB / 1.124 GB, free: 30.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/1.187, allocations: 0 / 1.124 GB, free: 30.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.141e-05/1.187, allocations: 7.969 kB / 1.124 GB, free: 30.46 MB / 0.698 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.001807/1.189, allocations: 0.6288 MB / 1.124 GB, free: 29.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.189, allocations: 7.75 kB / 1.124 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.331e-05/1.189, allocations: 50.17 kB / 1.124 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.761e-05/1.189, allocations: 31.06 kB / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/1.189, allocations: 193 kB / 1.125 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/1.19, allocations: 131.5 kB / 1.125 GB, free: 29.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/1.19, allocations: 15.28 kB / 1.125 GB, free: 29.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/1.19, allocations: 255 kB / 1.125 GB, free: 29.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/1.19, allocations: 3.938 kB / 1.125 GB, free: 29.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/1.19, allocations: 10.06 kB / 1.125 GB, free: 29.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/1.19, allocations: 3.812 kB / 1.125 GB, free: 29.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003454/1.191, allocations: 113.9 kB / 1.125 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/1.192, allocations: 0.9492 MB / 1.126 GB, free: 28.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002324/1.194, allocations: 0.4898 MB / 1.126 GB, free: 28.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.468e-05/1.194, allocations: 7.969 kB / 1.126 GB, free: 28.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000566/1.195, allocations: 310.5 kB / 1.127 GB, free: 28.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 3.607e-06/1.195, allocations: 0 / 1.127 GB, free: 28.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001198/1.196, allocations: 399.7 kB / 1.127 GB, free: 28.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002193/1.196, allocations: 356.1 kB / 1.127 GB, free: 27.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/1.197, allocations: 163.6 kB / 1.128 GB, free: 27.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.458e-05/1.197, allocations: 40.73 kB / 1.128 GB, free: 27.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/1.197, allocations: 97.7 kB / 1.128 GB, free: 27.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/1.197, allocations: 119.5 kB / 1.128 GB, free: 27.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/1.197, allocations: 10.94 kB / 1.128 GB, free: 27.35 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.197, allocations: 332.8 kB / 1.128 GB, free: 27.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/1.197, allocations: 106.4 kB / 1.128 GB, free: 27.03 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004523/1.198, allocations: 174.7 kB / 1.128 GB, free: 26.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/1.198, allocations: 119.2 kB / 1.129 GB, free: 26.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.198, allocations: 0 / 1.129 GB, free: 26.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001127/1.2, allocations: 370.2 kB / 1.129 GB, free: 26.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/1.2, allocations: 3.906 kB / 1.129 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.2, allocations: 4.906 kB / 1.129 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/1.2, allocations: 3.812 kB / 1.129 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/1.2, allocations: 82.36 kB / 1.129 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/1.2, allocations: 7.797 kB / 1.129 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005345/1.201, allocations: 59.34 kB / 1.129 GB, free: 26.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/1.201, allocations: 21.27 kB / 1.129 GB, free: 26.86 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002409/1.201, allocations: 160.1 kB / 1.129 GB, free: 26.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.557e-05/1.201, allocations: 34.06 kB / 1.129 GB, free: 26.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/1.202, allocations: 355.7 kB / 1.13 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/1.202, allocations: 7.906 kB / 1.13 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/1.202, allocations: 3.969 kB / 1.13 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/1.202, allocations: 14.58 kB / 1.13 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005873/1.203, allocations: 347.9 kB / 1.13 GB, free: 26.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.203, allocations: 7.812 kB / 1.13 GB, free: 26.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005706/1.204, allocations: 71.81 kB / 1.13 GB, free: 26.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/1.204, allocations: 7.75 kB / 1.13 GB, free: 26.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.927e-05/1.204, allocations: 20.27 kB / 1.13 GB, free: 26.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/1.204, allocations: 3.812 kB / 1.13 GB, free: 26.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.204, allocations: 7.812 kB / 1.13 GB, free: 26.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/1.205, allocations: 0.6055 MB / 1.131 GB, free: 26.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/1.205, allocations: 150 kB / 1.131 GB, free: 25.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.834e-05/1.205, allocations: 22.38 kB / 1.131 GB, free: 25.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/1.206, allocations: 42.34 kB / 1.131 GB, free: 25.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/1.206, allocations: 50.42 kB / 1.131 GB, free: 25.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/1.206, allocations: 24.52 kB / 1.131 GB, free: 25.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001522/1.206, allocations: 125.8 kB / 1.131 GB, free: 25.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.206, allocations: 4 kB / 1.131 GB, free: 25.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009682/1.207, allocations: 212.1 kB / 1.131 GB, free: 25.79 MB / 0.698 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) * 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 (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.002516/1.21, allocations: 2.114 MB / 1.133 GB, free: 24.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00107/1.211, allocations: 319.7 kB / 1.134 GB, free: 24.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.211, allocations: 0 / 1.134 GB, free: 24.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004391/1.211, allocations: 182.2 kB / 1.134 GB, free: 24.06 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/1.211, allocations: 36.33 kB / 1.134 GB, free: 24.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/1.214, allocations: 2.056 MB / 1.136 GB, free: 22.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/1.215, allocations: 0.7701 MB / 1.137 GB, free: 21.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004498/1.215, allocations: 52.56 kB / 1.137 GB, free: 21.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/1.215, allocations: 93.58 kB / 1.137 GB, free: 21.57 MB / 0.698 GB Notification: Performance of SimCode: time 1.293e-06/1.215, allocations: 4 kB / 1.137 GB, free: 21.56 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/1.245, allocations: 6.842 MB / 1.143 GB, free: 18.67 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/1.245, allocations: 206 kB / 1.144 GB, free: 18.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.704/3.949, allocations: 0 / 1.144 GB, free: 18.43 MB / 0.698 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)