Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 249.5 MB / 257 MB, free: 6.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 165 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001051, allocations: 82.53 kB / 0.6714 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.99e-05/1.993e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2089, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6891/0.898, allocations: 132.9 MB / 1.015 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.8982, allocations: 71.08 kB / 1.015 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0319/0.9301, allocations: 10.33 MB / 1.025 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9302, allocations: 3.938 kB / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.9302, allocations: 4 kB / 1.025 GB, free: 11.81 MB / 0.6511 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.001213/0.9314, allocations: 0.6235 MB / 1.026 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.9315, allocations: 12.03 kB / 1.026 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.696e-05/0.9315, allocations: 15.81 kB / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.9317, allocations: 197.1 kB / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.9317, allocations: 4 kB / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.9318, allocations: 12 kB / 1.026 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002038/0.932, allocations: 86.77 kB / 1.026 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.9323, allocations: 218 kB / 1.026 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.9323, allocations: 3.938 kB / 1.026 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.9323, allocations: 4 kB / 1.026 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.9323, allocations: 8 kB / 1.026 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.9327, allocations: 357.1 kB / 1.027 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.934, allocations: 471.2 kB / 1.027 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.9342, allocations: 146.8 kB / 1.027 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.9343, allocations: 7.984 kB / 1.027 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004227/0.9347, allocations: 296 kB / 1.028 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.9347, allocations: 0 / 1.028 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.00241/0.9371, allocations: 0.535 MB / 1.028 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001573/0.9373, allocations: 354 kB / 1.029 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.9374, allocations: 145.3 kB / 1.029 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.9375, allocations: 33.64 kB / 1.029 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.9376, allocations: 96.42 kB / 1.029 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.9377, allocations: 107.2 kB / 1.029 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.9377, allocations: 4 kB / 1.029 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.9378, allocations: 329.1 kB / 1.029 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.938, allocations: 98.55 kB / 1.029 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.9382, allocations: 157 kB / 1.029 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003088/0.9413, allocations: 0.4927 MB / 1.03 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.9413, allocations: 0 / 1.03 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003459/0.9448, allocations: 0.7195 MB / 1.031 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.9448, allocations: 8 kB / 1.031 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.9449, allocations: 4.172 kB / 1.031 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.9449, allocations: 4 kB / 1.031 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.9452, allocations: 63.14 kB / 1.031 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.036e-06/0.9452, allocations: 8 kB / 1.031 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.9455, allocations: 51.64 kB / 1.031 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.9456, allocations: 23.86 kB / 1.031 GB, free: 6.238 MB / 0.6511 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 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$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.000157/0.9458, allocations: 119.4 kB / 1.031 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002369/0.9481, allocations: 0.5364 MB / 1.031 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.9482, allocations: 27.7 kB / 1.031 GB, free: 5.609 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006543/0.9489, allocations: 326.8 kB / 1.032 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.9489, allocations: 12 kB / 1.032 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.9489, allocations: 7.938 kB / 1.032 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.9489, allocations: 4 kB / 1.032 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003655/0.9493, allocations: 301.5 kB / 1.032 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.9493, allocations: 3.984 kB / 1.032 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/0.9496, allocations: 75.66 kB / 1.032 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.9496, allocations: 4 kB / 1.032 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.9497, allocations: 15.36 kB / 1.032 GB, free: 4.953 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.9497, allocations: 8 kB / 1.032 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.9497, allocations: 0 / 1.032 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/0.9522, allocations: 0.8201 MB / 1.033 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.9524, allocations: 154.3 kB / 1.033 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.051e-05/0.9525, allocations: 4 kB / 1.033 GB, free: 3.941 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.9527, allocations: 31.41 kB / 1.033 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.9528, allocations: 54.75 kB / 1.033 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.9529, allocations: 27.8 kB / 1.033 GB, free: 3.844 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.397e-05/0.953, allocations: 119.3 kB / 1.033 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.953, allocations: 0 / 1.033 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007072/0.9537, allocations: 213.7 kB / 1.034 GB, free: 3.535 MB / 0.6511 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) * 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.004501/0.9582, allocations: 2.33 MB / 1.036 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002533/0.9608, allocations: 2.991 MB / 1.039 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.9608, allocations: 0 / 1.039 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.9611, allocations: 167.9 kB / 1.039 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.9614, allocations: 16.09 kB / 1.039 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.963, allocations: 0.5275 MB / 1.039 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.9635, allocations: 0.769 MB / 1.04 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002572/0.9638, allocations: 51.62 kB / 1.04 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.964, allocations: 94.89 kB / 1.04 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of SimCode: time 1.282e-06/0.964, allocations: 0 / 1.04 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.9914, allocations: 6.848 MB / 1.047 GB, free: 5.859 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.9917, allocations: 181.6 kB / 1.047 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/2.798, allocations: 7.25 kB / 1.047 GB, free: 5.664 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)