Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",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.582/2.582, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.00155/0.00155, allocations: 190.1 kB / 370.8 MB, free: 10.84 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.59 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.001145/0.001145, allocations: 86.97 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006666/0.0006666, allocations: 11.62 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2172, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9494/1.167, allocations: 138.6 MB / 1.114 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/1.167, allocations: 75.95 kB / 1.114 GB, free: 15.74 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.05024/1.217, allocations: 10.09 MB / 1.124 GB, free: 30.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.685e-06/1.217, allocations: 0 / 1.124 GB, free: 30.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.112e-05/1.217, allocations: 3.906 kB / 1.124 GB, free: 30.91 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.001949/1.219, allocations: 0.6241 MB / 1.124 GB, free: 30.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/1.219, allocations: 11.56 kB / 1.124 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.03e-05/1.219, allocations: 49.59 kB / 1.124 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.3e-05/1.219, allocations: 23.31 kB / 1.124 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/1.22, allocations: 193.1 kB / 1.125 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/1.22, allocations: 132 kB / 1.125 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.017e-05/1.22, allocations: 21.66 kB / 1.125 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004847/1.22, allocations: 248.1 kB / 1.125 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/1.22, allocations: 3.938 kB / 1.125 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/1.22, allocations: 14.31 kB / 1.125 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/1.221, allocations: 3.844 kB / 1.125 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/1.221, allocations: 116.4 kB / 1.125 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/1.222, allocations: 0.9487 MB / 1.126 GB, free: 29.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00237/1.225, allocations: 0.4885 MB / 1.126 GB, free: 28.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.396e-05/1.225, allocations: 7.547 kB / 1.126 GB, free: 28.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006582/1.225, allocations: 302.9 kB / 1.127 GB, free: 28.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 3.717e-06/1.225, allocations: 4 kB / 1.127 GB, free: 28.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001233/1.227, allocations: 409.5 kB / 1.127 GB, free: 28.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002087/1.227, allocations: 352.1 kB / 1.127 GB, free: 28.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/1.227, allocations: 161.7 kB / 1.128 GB, free: 27.99 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.43e-05/1.227, allocations: 40.33 kB / 1.128 GB, free: 27.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.128e-05/1.227, allocations: 105.7 kB / 1.128 GB, free: 27.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/1.227, allocations: 115.6 kB / 1.128 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/1.227, allocations: 9.812 kB / 1.128 GB, free: 27.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.228, allocations: 330.9 kB / 1.128 GB, free: 27.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/1.228, allocations: 107.1 kB / 1.128 GB, free: 27.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/1.228, allocations: 176.9 kB / 1.128 GB, free: 27.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/1.229, allocations: 116 kB / 1.129 GB, free: 27.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.229, allocations: 3.875 kB / 1.129 GB, free: 27.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00117/1.23, allocations: 361.5 kB / 1.129 GB, free: 27.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/1.23, allocations: 6.5 kB / 1.129 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.23, allocations: 3.875 kB / 1.129 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/1.23, allocations: 8.344 kB / 1.129 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006849/1.231, allocations: 78.55 kB / 1.129 GB, free: 27.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/1.231, allocations: 10.64 kB / 1.129 GB, free: 27.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005596/1.231, allocations: 57 kB / 1.129 GB, free: 27.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.843e-05/1.232, allocations: 21.3 kB / 1.129 GB, free: 27.31 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.0002683/1.232, allocations: 163 kB / 1.129 GB, free: 27.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/1.232, allocations: 23.44 kB / 1.129 GB, free: 27.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/1.233, allocations: 359 kB / 1.13 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/1.233, allocations: 7.719 kB / 1.13 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.233, allocations: 3.812 kB / 1.13 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/1.233, allocations: 14.3 kB / 1.13 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/1.234, allocations: 349.7 kB / 1.13 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/1.234, allocations: 3.875 kB / 1.13 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/1.234, allocations: 73.59 kB / 1.13 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/1.234, allocations: 8.031 kB / 1.13 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.303e-05/1.234, allocations: 18.48 kB / 1.13 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/1.234, allocations: 7.906 kB / 1.13 GB, free: 26.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.234, allocations: 7.75 kB / 1.13 GB, free: 26.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/1.236, allocations: 0.6117 MB / 1.131 GB, free: 26.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/1.236, allocations: 154.6 kB / 1.131 GB, free: 26.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.991e-05/1.236, allocations: 13.41 kB / 1.131 GB, free: 26.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/1.236, allocations: 35.97 kB / 1.131 GB, free: 26.37 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/1.237, allocations: 57.8 kB / 1.131 GB, free: 26.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.947e-05/1.237, allocations: 21.03 kB / 1.131 GB, free: 26.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001627/1.237, allocations: 127.4 kB / 1.131 GB, free: 26.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.1e-07/1.237, allocations: 0 / 1.131 GB, free: 26.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0011/1.238, allocations: 212.1 kB / 1.131 GB, free: 26.24 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.002553/1.241, allocations: 2.124 MB / 1.133 GB, free: 24.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001134/1.242, allocations: 314 kB / 1.134 GB, free: 24.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.242, allocations: 0 / 1.134 GB, free: 24.53 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004718/1.242, allocations: 186.5 kB / 1.134 GB, free: 24.51 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/1.243, allocations: 33.11 kB / 1.134 GB, free: 24.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/1.245, allocations: 2.054 MB / 1.136 GB, free: 22.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/1.246, allocations: 0.7699 MB / 1.137 GB, free: 22.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004805/1.246, allocations: 57.69 kB / 1.137 GB, free: 22.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/1.247, allocations: 94.73 kB / 1.137 GB, free: 22.01 MB / 0.698 GB Notification: Performance of SimCode: time 1.332e-06/1.247, allocations: 0 / 1.137 GB, free: 22.01 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/1.277, allocations: 6.851 MB / 1.143 GB, free: 19.11 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/1.278, allocations: 202 kB / 1.144 GB, free: 18.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.785/4.063, allocations: 0 / 1.144 GB, free: 18.88 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)