Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01297/0.01297, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.903/1.903, allocations: 205.4 MB / 222.4 MB, free: 5.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.905/1.905, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.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.0005398/0.0005397, allocations: 15.28 kB / 0.6743 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3057, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001314/0.3071, allocations: 0.6217 MB / 0.7885 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003846/0.311, allocations: 2.543 MB / 0.791 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.163e-05/0.3111, allocations: 3.938 kB / 0.791 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.3111, allocations: 3.938 kB / 0.791 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.3114, allocations: 35.69 kB / 0.791 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.3127, allocations: 426.8 kB / 0.7914 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.313, allocations: 299.2 kB / 0.7917 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.193e-05/0.3131, allocations: 17.89 kB / 0.7917 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.3134, allocations: 131.6 kB / 0.7919 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.3136, allocations: 143.5 kB / 0.792 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.375e-05/0.3137, allocations: 16 kB / 0.792 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005636/0.3143, allocations: 303.8 kB / 0.7923 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.259e-05/0.3143, allocations: 55.8 kB / 0.7924 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.3145, allocations: 137.2 kB / 0.7925 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006887/0.3152, allocations: 0.5337 MB / 0.793 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3152, allocations: 0 / 0.793 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.719e-06/0.3152, allocations: 0 / 0.793 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3152, allocations: 7.938 kB / 0.793 GB, free: 6.281 MB / 0.6075 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.001611/0.3169, allocations: 0.6217 MB / 0.7936 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.3169, allocations: 12.03 kB / 0.7936 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.901e-05/0.317, allocations: 20.75 kB / 0.7937 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.3172, allocations: 196.7 kB / 0.7938 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.3174, allocations: 131.3 kB / 0.794 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.3175, allocations: 24.31 kB / 0.794 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/0.318, allocations: 239.9 kB / 0.7942 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.318, allocations: 0 / 0.7942 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.3181, allocations: 11.98 kB / 0.7942 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.3181, allocations: 7.938 kB / 0.7942 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/0.3184, allocations: 119.7 kB / 0.7943 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.3189, allocations: 391.2 kB / 0.7947 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.3203, allocations: 499.3 kB / 0.7952 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.3206, allocations: 158.2 kB / 0.7953 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.3206, allocations: 7.984 kB / 0.7954 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000682/0.3213, allocations: 315.5 kB / 0.7957 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.044e-06/0.3213, allocations: 0 / 0.7957 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008524/0.3222, allocations: 417.6 kB / 0.7961 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002389/0.3224, allocations: 350.6 kB / 0.7964 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.3226, allocations: 171.3 kB / 0.7966 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.046e-05/0.3227, allocations: 45.64 kB / 0.7966 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.435e-05/0.3228, allocations: 97.05 kB / 0.7967 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.3229, allocations: 114.5 kB / 0.7968 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.769e-05/0.323, allocations: 45.7 kB / 0.7968 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3232, allocations: 330.8 kB / 0.7972 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.3235, allocations: 113.1 kB / 0.7973 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.3238, allocations: 173 kB / 0.7974 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.3244, allocations: 267 kB / 0.7977 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3244, allocations: 0 / 0.7977 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008176/0.3252, allocations: 380.7 kB / 0.798 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.3252, allocations: 8 kB / 0.7981 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3252, allocations: 7.984 kB / 0.7981 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.3253, allocations: 4 kB / 0.7981 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.3257, allocations: 76.58 kB / 0.7981 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.3257, allocations: 7.984 kB / 0.7981 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.326, allocations: 47.67 kB / 0.7982 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.3261, allocations: 23.98 kB / 0.7982 GB, free: 376 kB / 0.6075 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.0002489/0.3263, allocations: 161.7 kB / 0.7984 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.3264, allocations: 27.66 kB / 0.7984 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007648/0.3272, allocations: 358.1 kB / 0.7987 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.3272, allocations: 8 kB / 0.7987 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.3272, allocations: 4 kB / 0.7987 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.3272, allocations: 7.984 kB / 0.7988 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004552/0.3277, allocations: 353 kB / 0.7991 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.3277, allocations: 8.438 kB / 0.7991 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.328, allocations: 75.84 kB / 0.7992 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.328, allocations: 4 kB / 0.7992 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/0.3281, allocations: 27.98 kB / 0.7992 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.3281, allocations: 4 kB / 0.7992 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3281, allocations: 7.938 kB / 0.7992 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008138/0.3289, allocations: 489.9 kB / 0.7997 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.3291, allocations: 160.4 kB / 0.7998 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.3292, allocations: 16 kB / 0.7999 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.3294, allocations: 39.97 kB / 0.7999 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.3296, allocations: 55.81 kB / 0.7999 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.3296, allocations: 23.98 kB / 0.8 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001244/0.3297, allocations: 128.5 kB / 0.8001 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3298, allocations: 0 / 0.8001 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000818/0.3306, allocations: 219.7 kB / 0.8003 GB, free: 14.1 MB / 0.6231 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.0005968/0.3312, allocations: 329.1 kB / 0.8006 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006689/0.3319, allocations: 328.3 kB / 0.8009 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3319, allocations: 0 / 0.8009 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.3322, allocations: 184.5 kB / 0.8011 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.3325, allocations: 37.53 kB / 0.8011 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.3337, allocations: 0.6557 MB / 0.8018 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.3343, allocations: 0.7614 MB / 0.8025 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002279/0.3345, allocations: 54.69 kB / 0.8026 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.3346, allocations: 47.42 kB / 0.8026 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of SimCode: time 1.142e-06/0.3346, allocations: 0 / 0.8026 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of Templates: time 0.01052/0.3452, allocations: 5.268 MB / 0.8078 GB, free: 6.379 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) Environment - environmentSimulation: