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.009465/0.009465, allocations: 98.38 kB / 15.73 MB, free: 6.445 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.002353/0.002354, allocations: 201 kB / 16.68 MB, free: 6.352 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.77/1.77, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.775/1.775, allocations: 251.7 MB / 0.5094 GB, free: 3.117 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.001491/0.001491, allocations: 75.89 kB / 0.7258 GB, free: 9.16 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2926, allocations: 104.7 MB / 0.828 GB, free: 364 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002183/0.2948, allocations: 0.9158 MB / 0.8289 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003313/0.2981, allocations: 2.53 MB / 0.8314 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.119e-05/0.2982, allocations: 7.938 kB / 0.8314 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.32e-05/0.2983, allocations: 11.81 kB / 0.8314 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.2986, allocations: 43.62 kB / 0.8315 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.2998, allocations: 0.4983 MB / 0.8319 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.3002, allocations: 311.1 kB / 0.8322 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.5e-05/0.3003, allocations: 17.67 kB / 0.8323 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.3006, allocations: 143.6 kB / 0.8324 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.3009, allocations: 155.5 kB / 0.8325 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.142e-05/0.3009, allocations: 24 kB / 0.8326 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007698/0.3017, allocations: 371.7 kB / 0.8329 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.048e-05/0.3018, allocations: 63.8 kB / 0.833 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.302, allocations: 115.5 kB / 0.8331 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000921/0.3029, allocations: 0.5528 MB / 0.8336 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.366e-05/0.3029, allocations: 4 kB / 0.8336 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.467e-06/0.3029, allocations: 0 / 0.8336 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.754e-05/0.303, allocations: 3.984 kB / 0.8336 GB, free: 10.59 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.001762/0.3047, allocations: 0.6675 MB / 0.8343 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/0.3048, allocations: 15.95 kB / 0.8343 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.3049, allocations: 24.8 kB / 0.8343 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.3052, allocations: 192.8 kB / 0.8345 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002502/0.3054, allocations: 131.3 kB / 0.8346 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-05/0.3055, allocations: 20.38 kB / 0.8347 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.3059, allocations: 240.4 kB / 0.8349 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.306, allocations: 0 / 0.8349 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.306, allocations: 8 kB / 0.8349 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.306, allocations: 4 kB / 0.8349 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/0.3063, allocations: 123.7 kB / 0.835 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.3068, allocations: 391.2 kB / 0.8354 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.3083, allocations: 499.3 kB / 0.8359 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.3086, allocations: 154.3 kB / 0.836 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.3086, allocations: 19.97 kB / 0.836 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005268/0.3091, allocations: 307.6 kB / 0.8363 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 2.064e-06/0.3091, allocations: 0 / 0.8363 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0008447/0.31, allocations: 422 kB / 0.8367 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/0.3102, allocations: 350.1 kB / 0.8371 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.3103, allocations: 171.2 kB / 0.8372 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.3104, allocations: 41.7 kB / 0.8373 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.3105, allocations: 97.12 kB / 0.8374 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.3106, allocations: 119.4 kB / 0.8375 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.3107, allocations: 106.2 kB / 0.8376 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3109, allocations: 330.8 kB / 0.8379 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.3112, allocations: 113.1 kB / 0.838 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/0.3115, allocations: 165 kB / 0.8382 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005942/0.3121, allocations: 268.1 kB / 0.8384 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3121, allocations: 0 / 0.8384 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007489/0.3128, allocations: 383.5 kB / 0.8388 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.3129, allocations: 8 kB / 0.8388 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3129, allocations: 0 / 0.8388 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.3129, allocations: 4.75 kB / 0.8388 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.3133, allocations: 79.81 kB / 0.8389 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.3133, allocations: 8 kB / 0.8389 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.3136, allocations: 47.75 kB / 0.8389 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.3136, allocations: 19.98 kB / 0.8389 GB, free: 4.586 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.0001801/0.3138, allocations: 153.7 kB / 0.8391 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-05/0.3139, allocations: 31.78 kB / 0.8391 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006815/0.3146, allocations: 358.1 kB / 0.8395 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.3146, allocations: 8 kB / 0.8395 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.3146, allocations: 4 kB / 0.8395 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.3146, allocations: 7.984 kB / 0.8395 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.3151, allocations: 353.5 kB / 0.8398 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.3151, allocations: 7.938 kB / 0.8398 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.3154, allocations: 79.84 kB / 0.8399 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.3154, allocations: 7.984 kB / 0.8399 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.3155, allocations: 16 kB / 0.8399 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.3155, allocations: 11.94 kB / 0.8399 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3155, allocations: 4 kB / 0.8399 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007497/0.3162, allocations: 0.4941 MB / 0.8404 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.3164, allocations: 148.7 kB / 0.8406 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.3165, allocations: 19.98 kB / 0.8406 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.3167, allocations: 31.97 kB / 0.8406 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.3168, allocations: 55.83 kB / 0.8407 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.3169, allocations: 23.98 kB / 0.8407 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.688e-05/0.317, allocations: 127.2 kB / 0.8408 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.317, allocations: 0 / 0.8408 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006229/0.3176, allocations: 215.2 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.0005545/0.3182, allocations: 336.6 kB / 0.8413 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007282/0.3189, allocations: 339 kB / 0.8417 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3189, allocations: 0 / 0.8417 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.3192, allocations: 180.3 kB / 0.8418 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.3195, allocations: 31.73 kB / 0.8419 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.3206, allocations: 0.565 MB / 0.8424 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.321, allocations: 0.7611 MB / 0.8432 GB, free: 36 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002138/0.3212, allocations: 57.44 kB / 0.8432 GB, free: 15.98 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.3213, allocations: 47.42 kB / 0.8433 GB, free: 15.93 MB / 0.67 GB Notification: Performance of SimCode: time 2.5e-07/0.3213, allocations: 3.938 kB / 0.8433 GB, free: 15.93 MB / 0.67 GB Notification: Performance of Templates: time 0.01107/0.3324, allocations: 5.667 MB / 0.8488 GB, free: 10.32 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)