Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008132/0.008132, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.704/2.704, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 10.8 kB / 0.9029 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3113, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001004/0.3123, allocations: 0.618 MB / 1.059 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003286/0.3157, allocations: 2.506 MB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.3158, allocations: 3.938 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.3158, allocations: 7.922 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.3161, allocations: 47.67 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.3172, allocations: 418.9 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.3175, allocations: 303.1 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.642e-05/0.3176, allocations: 13.67 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.3179, allocations: 139.5 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.3181, allocations: 147.5 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.403e-05/0.3182, allocations: 12 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005668/0.3187, allocations: 299.8 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.724e-05/0.3188, allocations: 55.8 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.319, allocations: 137.2 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007656/0.3197, allocations: 0.5339 MB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3197, allocations: 0 / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.995e-06/0.3198, allocations: 3.984 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.3198, allocations: 0 / 1.064 GB, free: 15.63 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.001315/0.3211, allocations: 0.6257 MB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3211, allocations: 15.97 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.512e-05/0.3212, allocations: 46.73 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.264e-05/0.3213, allocations: 24.66 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.3214, allocations: 193.4 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.3216, allocations: 135.4 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.3217, allocations: 20.36 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.322, allocations: 236.2 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.322, allocations: 4 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.322, allocations: 7.984 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.3221, allocations: 7.938 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.3223, allocations: 115.7 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.3227, allocations: 407.1 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.3241, allocations: 499.2 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.3244, allocations: 158.3 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.477e-05/0.3244, allocations: 11.94 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004336/0.3249, allocations: 315.4 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 2.785e-06/0.3249, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.0008185/0.3257, allocations: 405 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/0.3259, allocations: 362.6 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.326, allocations: 167.2 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.3261, allocations: 45.69 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.3261, allocations: 93.14 kB / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.832e-05/0.3262, allocations: 110.5 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/0.3263, allocations: 49.69 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3264, allocations: 330.8 kB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.3267, allocations: 121.1 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.327, allocations: 169 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005248/0.3275, allocations: 272.9 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3275, allocations: 4 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007183/0.3282, allocations: 375.5 kB / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3283, allocations: 4 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3283, allocations: 0 / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3283, allocations: 4 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.3287, allocations: 80.81 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.3287, allocations: 4 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.329, allocations: 59.66 kB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.329, allocations: 19.98 kB / 1.069 GB, free: 9.652 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.0001488/0.3292, allocations: 154.5 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.3293, allocations: 27.66 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000674/0.3299, allocations: 366 kB / 1.07 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.33, allocations: 12 kB / 1.07 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.33, allocations: 0 / 1.07 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.33, allocations: 7.984 kB / 1.07 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.3304, allocations: 353.1 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3304, allocations: 4 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.3307, allocations: 79.83 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.3307, allocations: 4 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.3307, allocations: 16 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.3307, allocations: 7.984 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3307, allocations: 4 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006537/0.3314, allocations: 497.7 kB / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.3316, allocations: 152.5 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.3316, allocations: 20.25 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.3319, allocations: 39.97 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.332, allocations: 55.81 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.332, allocations: 27.98 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.092e-05/0.3321, allocations: 127.2 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3321, allocations: 3.938 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005654/0.3327, allocations: 219.7 kB / 1.071 GB, free: 7.379 MB / 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.001369/0.3341, allocations: 1.232 MB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006084/0.3347, allocations: 333.9 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3347, allocations: 0 / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.335, allocations: 196 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.3353, allocations: 38.59 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.3389, allocations: 2.84 MB / 1.076 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.3392, allocations: 0.7614 MB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002169/0.3394, allocations: 55.89 kB / 1.077 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.3396, allocations: 99.31 kB / 1.077 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of SimCode: time 8.32e-07/0.3396, allocations: 0 / 1.077 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.3579, allocations: 7.303 MB / 1.084 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.3581, allocations: 246.1 kB / 1.084 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.221, allocations: 1.875 kB / 1.084 GB, free: 10.22 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)