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.SunRiseSet.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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00601/0.00601, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001159/0.00116, allocations: 199.1 kB / 16.68 MB, free: 5.93 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.701/1.701, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.763/1.763, allocations: 251.7 MB / 0.5094 GB, free: 2.996 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.001948/0.001948, allocations: 71.91 kB / 0.7258 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2919, allocations: 104.7 MB / 0.828 GB, free: 236 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.00322/0.2951, allocations: 0.9164 MB / 0.8289 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00384/0.299, allocations: 2.522 MB / 0.8314 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.2992, allocations: 3.938 kB / 0.8314 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.621e-05/0.2994, allocations: 11.81 kB / 0.8314 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004388/0.2998, allocations: 43.62 kB / 0.8314 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.3015, allocations: 0.4984 MB / 0.8319 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005333/0.3021, allocations: 323 kB / 0.8322 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.011e-05/0.3022, allocations: 13.67 kB / 0.8323 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003963/0.3026, allocations: 151.6 kB / 0.8324 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.3029, allocations: 151.5 kB / 0.8325 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.356e-05/0.303, allocations: 28 kB / 0.8326 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008259/0.3038, allocations: 371.7 kB / 0.8329 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.3039, allocations: 71.78 kB / 0.833 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.3041, allocations: 111.5 kB / 0.8331 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.3051, allocations: 0.5493 MB / 0.8336 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3051, allocations: 0 / 0.8336 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3051, allocations: 0 / 0.8336 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.68e-05/0.3051, allocations: 0 / 0.8336 GB, free: 10.46 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.001952/0.3071, allocations: 0.6645 MB / 0.8343 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.3072, allocations: 8.031 kB / 0.8343 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.3073, allocations: 20.75 kB / 0.8343 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.3075, allocations: 196.7 kB / 0.8345 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.3077, allocations: 131.4 kB / 0.8346 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.3078, allocations: 16.38 kB / 0.8346 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.3082, allocations: 248.4 kB / 0.8349 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3082, allocations: 0 / 0.8349 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.3083, allocations: 4 kB / 0.8349 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.3083, allocations: 12 kB / 0.8349 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002715/0.3086, allocations: 107.7 kB / 0.835 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005776/0.3091, allocations: 395.2 kB / 0.8354 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.3107, allocations: 0.4915 MB / 0.8359 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.3109, allocations: 150.2 kB / 0.836 GB, free: 7.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.854e-05/0.311, allocations: 19.97 kB / 0.836 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005657/0.3116, allocations: 315.5 kB / 0.8363 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 2.815e-06/0.3116, allocations: 0 / 0.8363 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.000873/0.3124, allocations: 422.1 kB / 0.8367 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001961/0.3127, allocations: 350.1 kB / 0.8371 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3128, allocations: 171.2 kB / 0.8372 GB, free: 6.266 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/0.3129, allocations: 37.7 kB / 0.8373 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.3129, allocations: 97.12 kB / 0.8373 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.3131, allocations: 118.4 kB / 0.8375 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.3132, allocations: 98.28 kB / 0.8376 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3134, allocations: 326.8 kB / 0.8379 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.3137, allocations: 121 kB / 0.838 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.314, allocations: 169 kB / 0.8381 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005655/0.3146, allocations: 269.4 kB / 0.8384 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3146, allocations: 0 / 0.8384 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008667/0.3154, allocations: 381.5 kB / 0.8388 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.3155, allocations: 7.938 kB / 0.8388 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.3155, allocations: 0 / 0.8388 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/0.3155, allocations: 4 kB / 0.8388 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/0.3159, allocations: 79.81 kB / 0.8388 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.316, allocations: 4 kB / 0.8389 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.3163, allocations: 55.66 kB / 0.8389 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.3164, allocations: 19.98 kB / 0.8389 GB, free: 4.473 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.0002684/0.3166, allocations: 154.5 kB / 0.8391 GB, free: 4.312 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.441e-05/0.3167, allocations: 31.64 kB / 0.8391 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007211/0.3175, allocations: 362 kB / 0.8394 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.3175, allocations: 12 kB / 0.8395 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.3175, allocations: 4.438 kB / 0.8395 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.3175, allocations: 0 / 0.8395 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005373/0.3181, allocations: 353.1 kB / 0.8398 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.3181, allocations: 7.938 kB / 0.8398 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.3184, allocations: 71.84 kB / 0.8399 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.3184, allocations: 4 kB / 0.8399 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.3185, allocations: 19.98 kB / 0.8399 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/0.3185, allocations: 11.98 kB / 0.8399 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.3185, allocations: 4 kB / 0.8399 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.3196, allocations: 0.4978 MB / 0.8404 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.3198, allocations: 148.6 kB / 0.8405 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.07e-05/0.3199, allocations: 23.89 kB / 0.8406 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.3202, allocations: 23.98 kB / 0.8406 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.3204, allocations: 59.81 kB / 0.8406 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.082e-05/0.3204, allocations: 23.98 kB / 0.8407 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001431/0.3206, allocations: 127.2 kB / 0.8408 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3206, allocations: 0 / 0.8408 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007836/0.3214, allocations: 211.7 kB / 0.841 GB, free: 2.219 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.0007056/0.3221, allocations: 321 kB / 0.8413 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008533/0.3229, allocations: 339.6 kB / 0.8416 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.3229, allocations: 0 / 0.8416 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.3233, allocations: 189 kB / 0.8418 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.3236, allocations: 31.73 kB / 0.8418 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.3251, allocations: 0.5536 MB / 0.8424 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.3255, allocations: 0.7611 MB / 0.8431 GB, free: 15.95 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002323/0.3258, allocations: 46.95 kB / 0.8432 GB, free: 15.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.3259, allocations: 51.41 kB / 0.8432 GB, free: 15.85 MB / 0.67 GB Notification: Performance of SimCode: time 1.012e-06/0.326, allocations: 0 / 0.8432 GB, free: 15.85 MB / 0.67 GB Notification: Performance of Templates: time 0.01373/0.3397, allocations: 5.66 MB / 0.8487 GB, free: 10.2 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)