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.001711/0.00171, allocations: 97.97 kB / 16.26 MB, free: 6.418 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.001738/0.001738, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.617/1.617, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.795/1.795, allocations: 292.3 MB / 0.5495 GB, free: 17.49 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.001486/0.001486, allocations: 71.84 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2492, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002286/0.2516, allocations: 0.9038 MB / 0.7849 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003215/0.2548, allocations: 2.514 MB / 0.7874 GB, free: 432 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.88e-05/0.2549, allocations: 4 kB / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.302e-05/0.255, allocations: 15.8 kB / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.2552, allocations: 55.55 kB / 0.7875 GB, free: 356 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.4204/0.6756, allocations: 0.49 MB / 0.7879 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004084/0.676, allocations: 311.7 kB / 0.7882 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.179e-05/0.6761, allocations: 17.97 kB / 0.7882 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.6763, allocations: 137.6 kB / 0.7884 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.6765, allocations: 152.3 kB / 0.7885 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.6766, allocations: 23.47 kB / 0.7885 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006428/0.6772, allocations: 311.2 kB / 0.7888 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.6773, allocations: 68.69 kB / 0.7889 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.841e-05/0.6774, allocations: 120.7 kB / 0.789 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006018/0.678, allocations: 0.542 MB / 0.7896 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.678, allocations: 6.562 kB / 0.7896 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.182e-06/0.678, allocations: 0 / 0.7896 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.678, allocations: 0 / 0.7896 GB, free: 45.89 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.001193/0.6792, allocations: 0.6638 MB / 0.7902 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.6793, allocations: 9 kB / 0.7902 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.656e-05/0.6794, allocations: 25.81 kB / 0.7902 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.896e-05/0.6795, allocations: 191 kB / 0.7904 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.6796, allocations: 125.6 kB / 0.7905 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.6797, allocations: 21.38 kB / 0.7906 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.68, allocations: 241.9 kB / 0.7908 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.68, allocations: 8.312 kB / 0.7908 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.68, allocations: 3.938 kB / 0.7908 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.68, allocations: 5.25 kB / 0.7908 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.6802, allocations: 118.6 kB / 0.7909 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.6806, allocations: 396.9 kB / 0.7913 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.6819, allocations: 490.5 kB / 0.7918 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.6821, allocations: 153.4 kB / 0.7919 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.6821, allocations: 16.97 kB / 0.7919 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004373/0.6826, allocations: 313.1 kB / 0.7922 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 3.075e-06/0.6826, allocations: 4.469 kB / 0.7922 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0007281/0.6833, allocations: 420.2 kB / 0.7926 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/0.6834, allocations: 354 kB / 0.793 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.6835, allocations: 163.3 kB / 0.7931 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.6836, allocations: 43.14 kB / 0.7932 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.6836, allocations: 96.98 kB / 0.7933 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.207e-05/0.6837, allocations: 112.3 kB / 0.7934 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.6838, allocations: 96.88 kB / 0.7935 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.192e-05/0.6839, allocations: 331.2 kB / 0.7938 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.6841, allocations: 118.1 kB / 0.7939 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.6844, allocations: 171.5 kB / 0.7941 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004506/0.6849, allocations: 261.1 kB / 0.7943 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.6849, allocations: 7.406 kB / 0.7943 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006317/0.6855, allocations: 381.5 kB / 0.7947 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.6855, allocations: 3.5 kB / 0.7947 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.6855, allocations: 3.469 kB / 0.7947 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.6856, allocations: 3.5 kB / 0.7947 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.6859, allocations: 83.53 kB / 0.7948 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.6859, allocations: 4.344 kB / 0.7948 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.6862, allocations: 50.33 kB / 0.7948 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.6862, allocations: 21.2 kB / 0.7948 GB, free: 42.91 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.0001317/0.6864, allocations: 159.3 kB / 0.795 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.6865, allocations: 28.22 kB / 0.795 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000599/0.6871, allocations: 363.6 kB / 0.7954 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.6871, allocations: 7.734 kB / 0.7954 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.6871, allocations: 3.5 kB / 0.7954 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.6871, allocations: 6.641 kB / 0.7954 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.6874, allocations: 351 kB / 0.7957 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.6874, allocations: 3.469 kB / 0.7957 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.6877, allocations: 77.95 kB / 0.7958 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.6877, allocations: 3.438 kB / 0.7958 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.6877, allocations: 20.16 kB / 0.7958 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.6877, allocations: 16.69 kB / 0.7958 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.6877, allocations: 3.438 kB / 0.7958 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00057/0.6883, allocations: 495.3 kB / 0.7963 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.6885, allocations: 150.4 kB / 0.7964 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.6885, allocations: 16.55 kB / 0.7965 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.6888, allocations: 27.33 kB / 0.7965 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.581e-05/0.6889, allocations: 57.34 kB / 0.7965 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.6889, allocations: 26.47 kB / 0.7966 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.121e-05/0.689, allocations: 134.5 kB / 0.7967 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.689, allocations: 0 / 0.7967 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005833/0.6896, allocations: 213.1 kB / 0.7969 GB, free: 42.07 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.0004763/0.69, allocations: 322.4 kB / 0.7972 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006017/0.6907, allocations: 356.2 kB / 0.7975 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6907, allocations: 6.219 kB / 0.7976 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.6909, allocations: 182.6 kB / 0.7977 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.6912, allocations: 34.31 kB / 0.7978 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000826/0.692, allocations: 0.587 MB / 0.7983 GB, free: 41.58 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.6923, allocations: 0.755 MB / 0.7991 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.6924, allocations: 50.92 kB / 0.7991 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.6924, allocations: 0 / 0.7991 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.009917/0.7023, allocations: 5.228 MB / 0.8042 GB, free: 40.39 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (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)