Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_11_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.001442/0.001442, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.608/2.608, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 68.05 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2558, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001917/0.2578, allocations: 0.9116 MB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002747/0.2606, allocations: 2.468 MB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.619e-05/0.2606, allocations: 8 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.754e-05/0.2607, allocations: 11.81 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.2609, allocations: 59.47 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008697/0.2617, allocations: 0.4908 MB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.262, allocations: 307.2 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.095e-05/0.2621, allocations: 21.59 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.2623, allocations: 151.6 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.2625, allocations: 143.5 kB / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.2625, allocations: 24 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004933/0.263, allocations: 315.8 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.48e-05/0.2631, allocations: 63.8 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.2632, allocations: 115.5 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006433/0.2639, allocations: 0.5494 MB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2639, allocations: 4 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2639, allocations: 0 / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.2639, allocations: 0 / 1.07 GB, free: 8.57 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.001273/0.2652, allocations: 0.6606 MB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.2652, allocations: 8.031 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.463e-05/0.2653, allocations: 46.73 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.894e-05/0.2653, allocations: 32.64 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.2655, allocations: 184.8 kB / 1.07 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.2656, allocations: 131.4 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.2657, allocations: 16.38 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.266, allocations: 252.2 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2661, allocations: 3.938 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.2661, allocations: 4 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2661, allocations: 4 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.2663, allocations: 115.8 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.2668, allocations: 395.1 kB / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.2682, allocations: 495.3 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.2684, allocations: 158.3 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.2685, allocations: 23.84 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004199/0.2689, allocations: 315.5 kB / 1.072 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 1.733e-06/0.2689, allocations: 0 / 1.072 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.0007754/0.2697, allocations: 413.7 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001784/0.2699, allocations: 354.6 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.27, allocations: 173.8 kB / 1.073 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.2701, allocations: 37.7 kB / 1.073 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.2701, allocations: 101.1 kB / 1.073 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.2702, allocations: 114.5 kB / 1.073 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.2704, allocations: 94.22 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2705, allocations: 334.8 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.2708, allocations: 113.1 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003018/0.2711, allocations: 169 kB / 1.074 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.2716, allocations: 268 kB / 1.074 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2716, allocations: 3.938 kB / 1.074 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007342/0.2724, allocations: 388.6 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.2724, allocations: 4 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2724, allocations: 0 / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2724, allocations: 4 kB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.2728, allocations: 79.88 kB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2728, allocations: 0 / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.2731, allocations: 51.66 kB / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/0.2731, allocations: 19.98 kB / 1.075 GB, free: 2.527 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.0001406/0.2733, allocations: 153.7 kB / 1.075 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.2733, allocations: 35.64 kB / 1.075 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006496/0.274, allocations: 351.4 kB / 1.075 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.274, allocations: 8 kB / 1.075 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.274, allocations: 7.938 kB / 1.075 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.274, allocations: 7.984 kB / 1.075 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000373/0.2744, allocations: 357.2 kB / 1.076 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2744, allocations: 4 kB / 1.076 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.2747, allocations: 67.91 kB / 1.076 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.2747, allocations: 11.98 kB / 1.076 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.2748, allocations: 19.98 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.2748, allocations: 4 kB / 1.076 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.2748, allocations: 11.94 kB / 1.076 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006878/0.2755, allocations: 0.49 MB / 1.076 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.2756, allocations: 144.5 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.2757, allocations: 15.98 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.2759, allocations: 27.98 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.276, allocations: 63.81 kB / 1.077 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.2761, allocations: 23.98 kB / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.086e-05/0.2762, allocations: 123.2 kB / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2762, allocations: 0 / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004765/0.2766, allocations: 215.7 kB / 1.077 GB, free: 288 kB / 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.001378/0.278, allocations: 1.237 MB / 1.078 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006475/0.2787, allocations: 364.5 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.2787, allocations: 4 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.279, allocations: 183.6 kB / 1.079 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.2792, allocations: 35.92 kB / 1.079 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/0.2828, allocations: 2.746 MB / 1.081 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.2831, allocations: 0.7571 MB / 1.082 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002038/0.2833, allocations: 61.42 kB / 1.082 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.2835, allocations: 95.39 kB / 1.082 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.2835, allocations: 0 / 1.082 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3683/0.6518, allocations: 7.8 MB / 1.09 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.09, allocations: 12.94 kB / 1.09 GB, free: 2.891 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)