Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.009743/0.009743, allocations: 89.45 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001134/0.001134, allocations: 168.7 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.078/2.078, allocations: 205.5 MB / 222.2 MB, free: 13.73 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.486/2.486, allocations: 252.9 MB / 0.511 GB, free: 8.328 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006537/0.0006538, allocations: 14.44 kB / 0.6243 GB, free: 28.32 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2896, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002299/0.2919, allocations: 1.337 MB / 0.7294 GB, free: 8.816 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003742/0.2957, allocations: 1.774 MB / 0.7311 GB, free: 7.031 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.2959, allocations: 4 kB / 0.7311 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.184e-05/0.296, allocations: 11.86 kB / 0.7311 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.2963, allocations: 47.89 kB / 0.7312 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.2977, allocations: 366.9 kB / 0.7315 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.2981, allocations: 175.7 kB / 0.7317 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 7.662e-05/0.2982, allocations: 21.67 kB / 0.7317 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.2985, allocations: 131.6 kB / 0.7318 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.2988, allocations: 135.6 kB / 0.732 GB, free: 6.152 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.188e-05/0.2988, allocations: 12 kB / 0.732 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008911/0.2997, allocations: 279.7 kB / 0.7323 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.41e-05/0.2998, allocations: 55.86 kB / 0.7323 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.001e-05/0.2999, allocations: 69.55 kB / 0.7324 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0008537/0.3008, allocations: 375.4 kB / 0.7327 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3008, allocations: 0 / 0.7327 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3008, allocations: 0 / 0.7327 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3009, allocations: 0 / 0.7327 GB, free: 5.371 MB / 0.5573 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.002052/0.3029, allocations: 0.6264 MB / 0.7333 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.303, allocations: 8.031 kB / 0.7333 GB, free: 4.691 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.194e-05/0.3031, allocations: 46.55 kB / 0.7334 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.804e-05/0.3032, allocations: 23.77 kB / 0.7334 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.3033, allocations: 186.8 kB / 0.7336 GB, free: 4.391 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.3036, allocations: 134.8 kB / 0.7337 GB, free: 4.234 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/0.3036, allocations: 16 kB / 0.7337 GB, free: 4.219 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005369/0.3042, allocations: 251.6 kB / 0.734 GB, free: 3.93 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.3042, allocations: 0 / 0.734 GB, free: 3.93 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.3042, allocations: 8 kB / 0.734 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.3043, allocations: 4 kB / 0.734 GB, free: 3.918 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/0.3047, allocations: 123.7 kB / 0.7341 GB, free: 3.797 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.306, allocations: 0.951 MB / 0.735 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.3086, allocations: 499.6 kB / 0.7355 GB, free: 2.16 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.665e-05/0.3087, allocations: 4 kB / 0.7355 GB, free: 2.156 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007183/0.3094, allocations: 316 kB / 0.7358 GB, free: 1.793 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=40): time 3.677e-06/0.3094, allocations: 0 / 0.7358 GB, free: 1.793 MB / 0.5573 GB Notification: Performance of matching and sorting (n=40): time 0.00131/0.3107, allocations: 397.6 kB / 0.7362 GB, free: 1.398 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001887/0.3109, allocations: 358.6 kB / 0.7365 GB, free: 0.9688 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.3112, allocations: 179 kB / 0.7367 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/0.3113, allocations: 45.62 kB / 0.7368 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.831e-05/0.3114, allocations: 104.9 kB / 0.7369 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.3115, allocations: 118.4 kB / 0.737 GB, free: 0.5117 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.3116, allocations: 4 kB / 0.737 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3117, allocations: 334.8 kB / 0.7373 GB, free: 176 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/0.3122, allocations: 105 kB / 0.7374 GB, free: 68 kB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/0.3127, allocations: 176.5 kB / 0.7376 GB, free: 15.87 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/0.3132, allocations: 111.9 kB / 0.7377 GB, free: 15.76 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.3132, allocations: 0 / 0.7377 GB, free: 15.76 MB / 0.573 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001273/0.3145, allocations: 372.9 kB / 0.738 GB, free: 15.39 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.3146, allocations: 11.95 kB / 0.738 GB, free: 15.38 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3146, allocations: 0 / 0.738 GB, free: 15.38 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.3146, allocations: 4 kB / 0.738 GB, free: 15.38 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007186/0.3154, allocations: 79.81 kB / 0.7381 GB, free: 15.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.3154, allocations: 4 kB / 0.7381 GB, free: 15.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005702/0.316, allocations: 59.66 kB / 0.7382 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.485e-05/0.316, allocations: 23.98 kB / 0.7382 GB, free: 15.21 MB / 0.573 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.0002458/0.3163, allocations: 157.6 kB / 0.7383 GB, free: 15.05 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-05/0.3164, allocations: 23.81 kB / 0.7384 GB, free: 15.02 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.3176, allocations: 371.3 kB / 0.7387 GB, free: 14.66 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.3176, allocations: 11.94 kB / 0.7387 GB, free: 14.65 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.3176, allocations: 4 kB / 0.7387 GB, free: 14.64 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.3176, allocations: 7.984 kB / 0.7387 GB, free: 14.64 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005772/0.3182, allocations: 349 kB / 0.7391 GB, free: 14.25 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3183, allocations: 0 / 0.7391 GB, free: 14.25 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000604/0.3189, allocations: 79.89 kB / 0.7392 GB, free: 14.17 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/0.3189, allocations: 4 kB / 0.7392 GB, free: 14.17 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.251e-05/0.319, allocations: 16 kB / 0.7392 GB, free: 14.15 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.423e-05/0.319, allocations: 19.88 kB / 0.7392 GB, free: 14.13 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.319, allocations: 0 / 0.7392 GB, free: 14.13 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.3203, allocations: 0.6097 MB / 0.7398 GB, free: 13.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/0.3206, allocations: 152.5 kB / 0.7399 GB, free: 13.23 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.557e-05/0.3207, allocations: 16 kB / 0.7399 GB, free: 13.22 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/0.3212, allocations: 39.97 kB / 0.74 GB, free: 13.18 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.3214, allocations: 51.89 kB / 0.74 GB, free: 13.13 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-05/0.3215, allocations: 23.98 kB / 0.7401 GB, free: 13.11 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001698/0.3216, allocations: 140.2 kB / 0.7402 GB, free: 12.97 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3216, allocations: 384 / 0.7402 GB, free: 12.97 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009074/0.3226, allocations: 199.8 kB / 0.7404 GB, free: 12.77 MB / 0.573 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.002632/0.3252, allocations: 2.112 MB / 0.7424 GB, free: 10.55 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.3265, allocations: 323.9 kB / 0.7428 GB, free: 10.24 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.3265, allocations: 0 / 0.7428 GB, free: 10.24 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005414/0.327, allocations: 179.7 kB / 0.7429 GB, free: 10.07 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.3274, allocations: 24.19 kB / 0.7429 GB, free: 10.04 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.3301, allocations: 2.056 MB / 0.745 GB, free: 7.879 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.3306, allocations: 0.7691 MB / 0.7457 GB, free: 7.082 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004461/0.3311, allocations: 51.52 kB / 0.7458 GB, free: 7.035 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.3314, allocations: 95.38 kB / 0.7458 GB, free: 6.941 MB / 0.573 GB Notification: Performance of SimCode: time 9.52e-07/0.3314, allocations: 0 / 0.7458 GB, free: 6.941 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04157/0.373, allocations: 7.186 MB / 0.7529 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003698/0.3734, allocations: 213.6 kB / 0.7531 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.679/3.052, allocations: 0 / 0.7531 GB, free: 15.64 MB / 0.5886 GB