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.SunRiseSetNegativeStartTime.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007858/0.007858, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.001467/0.001467, allocations: 194.2 kB / 16.68 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.605/1.605, allocations: 251.7 MB / 0.5094 GB, free: 3.043 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 69.77 kB / 0.7258 GB, free: 9.148 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3002, allocations: 104.7 MB / 0.828 GB, free: 340 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002135/0.3023, allocations: 0.9049 MB / 0.8289 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00297/0.3053, allocations: 2.526 MB / 0.8314 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.547e-05/0.3054, allocations: 4 kB / 0.8314 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.457e-05/0.3055, allocations: 11.81 kB / 0.8314 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.3057, allocations: 51.56 kB / 0.8315 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.3071, allocations: 0.4945 MB / 0.8319 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005025/0.3076, allocations: 315.1 kB / 0.8322 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.3077, allocations: 17.67 kB / 0.8323 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.308, allocations: 155.6 kB / 0.8324 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.3083, allocations: 151.5 kB / 0.8326 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.517e-05/0.3084, allocations: 24 kB / 0.8326 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008635/0.3092, allocations: 367.7 kB / 0.8329 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.436e-05/0.3093, allocations: 71.78 kB / 0.833 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.3095, allocations: 111.5 kB / 0.8331 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009733/0.3105, allocations: 0.5533 MB / 0.8336 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3105, allocations: 0 / 0.8336 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3105, allocations: 0 / 0.8336 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.3105, allocations: 0 / 0.8336 GB, free: 10.57 MB / 0.6544 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.0018/0.3123, allocations: 0.6629 MB / 0.8343 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.3124, allocations: 12.03 kB / 0.8343 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.3125, allocations: 24.75 kB / 0.8343 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.3127, allocations: 192.7 kB / 0.8345 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/0.313, allocations: 127.4 kB / 0.8346 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.32e-05/0.3131, allocations: 20.31 kB / 0.8346 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.3136, allocations: 244.4 kB / 0.8349 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.3136, allocations: 3.938 kB / 0.8349 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.3136, allocations: 11.94 kB / 0.8349 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.3137, allocations: 4 kB / 0.8349 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.314, allocations: 111.8 kB / 0.835 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006021/0.3146, allocations: 391.1 kB / 0.8354 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.3164, allocations: 0.4953 MB / 0.8359 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.3168, allocations: 158.3 kB / 0.836 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.818e-05/0.3168, allocations: 11.92 kB / 0.836 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006527/0.3175, allocations: 315.5 kB / 0.8363 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 2.424e-06/0.3175, allocations: 0 / 0.8363 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.001115/0.3186, allocations: 405.7 kB / 0.8367 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000223/0.3189, allocations: 358.6 kB / 0.8371 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.3191, allocations: 171.2 kB / 0.8372 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/0.3191, allocations: 45.7 kB / 0.8373 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.3192, allocations: 97.11 kB / 0.8374 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.3193, allocations: 110.5 kB / 0.8375 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.3195, allocations: 98.22 kB / 0.8376 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3197, allocations: 326.8 kB / 0.8379 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.3201, allocations: 117 kB / 0.838 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.3205, allocations: 173 kB / 0.8381 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006855/0.3212, allocations: 262.2 kB / 0.8384 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.3212, allocations: 4 kB / 0.8384 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009811/0.3222, allocations: 388.2 kB / 0.8388 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.3222, allocations: 4 kB / 0.8388 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.3222, allocations: 4 kB / 0.8388 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.3223, allocations: 0 / 0.8388 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005224/0.3228, allocations: 79.88 kB / 0.8388 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.011e-05/0.3228, allocations: 4 kB / 0.8389 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.3232, allocations: 47.66 kB / 0.8389 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/0.3233, allocations: 19.98 kB / 0.8389 GB, free: 4.59 MB / 0.6544 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.0003753/0.3237, allocations: 166.4 kB / 0.8391 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-05/0.3238, allocations: 27.66 kB / 0.8391 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009332/0.3247, allocations: 354.1 kB / 0.8394 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/0.3248, allocations: 11.94 kB / 0.8395 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/0.3248, allocations: 4 kB / 0.8395 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.3248, allocations: 4 kB / 0.8395 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.3254, allocations: 353.1 kB / 0.8398 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.3254, allocations: 7.938 kB / 0.8398 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003867/0.3258, allocations: 67.91 kB / 0.8399 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.559e-05/0.3258, allocations: 4 kB / 0.8399 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.225e-05/0.3259, allocations: 19.98 kB / 0.8399 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-05/0.3259, allocations: 8.188 kB / 0.8399 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.326, allocations: 7.938 kB / 0.8399 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.327, allocations: 0.4978 MB / 0.8404 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.3273, allocations: 156.6 kB / 0.8405 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/0.3273, allocations: 19.91 kB / 0.8406 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.3277, allocations: 27.97 kB / 0.8406 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.3278, allocations: 51.88 kB / 0.8406 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/0.3279, allocations: 23.98 kB / 0.8407 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001415/0.328, allocations: 135.2 kB / 0.8408 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.1e-07/0.328, allocations: 0 / 0.8408 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008818/0.3289, allocations: 215.7 kB / 0.841 GB, free: 2.324 MB / 0.6544 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.001023/0.33, allocations: 317.2 kB / 0.8413 GB, free: 2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001/0.331, allocations: 337.1 kB / 0.8416 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/0.331, allocations: 4 kB / 0.8416 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004371/0.3315, allocations: 187.6 kB / 0.8418 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.3319, allocations: 39.73 kB / 0.8418 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.3334, allocations: 0.5428 MB / 0.8424 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.3339, allocations: 0.7572 MB / 0.8431 GB, free: 64 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002809/0.3342, allocations: 54.7 kB / 0.8432 GB, free: 12 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.3344, allocations: 47.41 kB / 0.8432 GB, free: 15.96 MB / 0.67 GB Notification: Performance of SimCode: time 2.786e-06/0.3344, allocations: 4 kB / 0.8432 GB, free: 15.96 MB / 0.67 GB Notification: Performance of Templates: time 0.01538/0.3498, allocations: 5.676 MB / 0.8488 GB, free: 10.33 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)