Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.0009212/0.000921, allocations: 97.64 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.006993/0.006994, allocations: 170.4 kB / 16.27 MB, free: 6.32 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.811/1.811, allocations: 205.4 MB / 222.4 MB, free: 5.539 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.773/1.773, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.00055/0.00055, allocations: 13.5 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3048, 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.SunRiseSet): time 0.001057/0.3059, allocations: 0.6217 MB / 0.7885 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003611/0.3095, allocations: 2.543 MB / 0.791 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.935e-05/0.3096, allocations: 3.938 kB / 0.791 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.3096, allocations: 7.938 kB / 0.791 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.3099, allocations: 39.69 kB / 0.791 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.3109, allocations: 426.8 kB / 0.7914 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.3113, allocations: 299.1 kB / 0.7917 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.977e-05/0.3114, allocations: 13.97 kB / 0.7917 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.3116, allocations: 135.6 kB / 0.7919 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.3119, allocations: 143.5 kB / 0.792 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.3119, allocations: 12 kB / 0.792 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005284/0.3124, allocations: 299.8 kB / 0.7923 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.859e-05/0.3125, allocations: 59.78 kB / 0.7923 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.3127, allocations: 137.2 kB / 0.7925 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006981/0.3134, allocations: 0.5337 MB / 0.793 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3134, allocations: 0 / 0.793 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3134, allocations: 4 kB / 0.793 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3134, allocations: 0 / 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.001367/0.3148, allocations: 0.6295 MB / 0.7936 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3148, allocations: 8.031 kB / 0.7936 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/0.3149, allocations: 24.69 kB / 0.7937 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.3151, allocations: 196.7 kB / 0.7938 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.3153, allocations: 135.3 kB / 0.794 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.3153, allocations: 20.31 kB / 0.794 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.3157, allocations: 247.9 kB / 0.7942 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3158, allocations: 0 / 0.7942 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.3158, allocations: 8 kB / 0.7942 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.3158, allocations: 7.984 kB / 0.7942 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/0.316, allocations: 111.7 kB / 0.7943 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.3165, allocations: 399.2 kB / 0.7947 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.3179, allocations: 495.3 kB / 0.7952 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.3182, allocations: 154.3 kB / 0.7953 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.963e-05/0.3182, allocations: 15.98 kB / 0.7954 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004841/0.3187, allocations: 319.5 kB / 0.7957 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 3.597e-06/0.3187, allocations: 0 / 0.7957 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0007896/0.3195, allocations: 409.9 kB / 0.7961 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/0.3197, allocations: 354.2 kB / 0.7964 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.3199, allocations: 159.3 kB / 0.7965 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.32, allocations: 41.7 kB / 0.7966 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.3201, allocations: 97.05 kB / 0.7967 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.812e-05/0.3202, allocations: 118.5 kB / 0.7968 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.3202, allocations: 49.69 kB / 0.7968 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3204, allocations: 334.8 kB / 0.7972 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.3206, allocations: 117 kB / 0.7973 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.3209, allocations: 165 kB / 0.7974 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005204/0.3215, allocations: 270.7 kB / 0.7977 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3215, allocations: 0 / 0.7977 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007025/0.3222, allocations: 380.9 kB / 0.798 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3222, allocations: 4 kB / 0.7981 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3222, allocations: 0 / 0.7981 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3222, allocations: 4 kB / 0.7981 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.3226, allocations: 83.81 kB / 0.7981 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3226, allocations: 0 / 0.7981 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.3229, allocations: 63.66 kB / 0.7982 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.323, allocations: 20.08 kB / 0.7982 GB, free: 368 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.0001677/0.3231, allocations: 157.7 kB / 0.7984 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/0.3232, allocations: 27.66 kB / 0.7984 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006785/0.3239, allocations: 359.3 kB / 0.7987 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.3239, allocations: 8 kB / 0.7987 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.3239, allocations: 8.062 kB / 0.7988 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.3239, allocations: 7.984 kB / 0.7988 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/0.3244, allocations: 356.9 kB / 0.7991 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.3244, allocations: 11.88 kB / 0.7991 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.3246, allocations: 67.84 kB / 0.7992 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.3247, allocations: 8 kB / 0.7992 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.3247, allocations: 15.98 kB / 0.7992 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.3247, allocations: 11.94 kB / 0.7992 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3247, allocations: 4 kB / 0.7992 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006885/0.3254, allocations: 493.9 kB / 0.7997 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.3256, allocations: 160.5 kB / 0.7998 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.3256, allocations: 12 kB / 0.7998 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.3259, allocations: 39.97 kB / 0.7999 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.326, allocations: 55.81 kB / 0.7999 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.693e-05/0.326, allocations: 23.98 kB / 0.8 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001096/0.3262, allocations: 132.5 kB / 0.8001 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3262, allocations: 0 / 0.8001 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006225/0.3268, allocations: 211.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.0005388/0.3273, allocations: 329.1 kB / 0.8006 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006174/0.328, allocations: 322.7 kB / 0.8009 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.328, allocations: 4 kB / 0.8009 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003425/0.3283, allocations: 196.2 kB / 0.8011 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.3287, allocations: 28 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.001018/0.3297, allocations: 0.6556 MB / 0.8018 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.3301, allocations: 0.7575 MB / 0.8025 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002577/0.3303, allocations: 59.25 kB / 0.8026 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.3305, allocations: 43.41 kB / 0.8026 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/0.3305, allocations: 0 / 0.8026 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of Templates: time 0.009642/0.3401, allocations: 5.259 MB / 0.8077 GB, free: 6.379 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) Environment - environmentSimulation: