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.001598/0.001599, allocations: 105.4 kB / 15.7 MB, free: 20 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 190.1 kB / 16.64 MB, free: 6.613 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.757/1.757, allocations: 205.1 MB / 222.5 MB, free: 4.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.878/1.878, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001545/0.001545, allocations: 71.44 kB / 0.6723 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.283, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002323/0.2854, allocations: 0.9248 MB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003446/0.2888, allocations: 2.515 MB / 0.7875 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.749e-05/0.2889, allocations: 0 / 0.7875 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.326e-05/0.289, allocations: 15.75 kB / 0.7875 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.2893, allocations: 47.56 kB / 0.7876 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.2906, allocations: 0.4944 MB / 0.788 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.291, allocations: 323.1 kB / 0.7883 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.323e-05/0.2911, allocations: 9.688 kB / 0.7884 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.2913, allocations: 139.6 kB / 0.7885 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.2916, allocations: 151.4 kB / 0.7886 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.568e-05/0.2916, allocations: 24 kB / 0.7887 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00074/0.2924, allocations: 379.7 kB / 0.789 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.77e-05/0.2925, allocations: 63.86 kB / 0.7891 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.2926, allocations: 115.5 kB / 0.7892 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008675/0.2935, allocations: 0.5572 MB / 0.7897 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2935, allocations: 0 / 0.7897 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.195e-06/0.2935, allocations: 0 / 0.7897 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.2935, allocations: 0 / 0.7897 GB, free: 6.984 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.00146/0.295, allocations: 0.6606 MB / 0.7904 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.2951, allocations: 8.031 kB / 0.7904 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.834e-05/0.2952, allocations: 24.66 kB / 0.7904 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.2953, allocations: 184.9 kB / 0.7906 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.2955, allocations: 135.3 kB / 0.7907 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.2956, allocations: 16.38 kB / 0.7907 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.296, allocations: 243.9 kB / 0.791 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.296, allocations: 0 / 0.791 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.2961, allocations: 8 kB / 0.791 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.2961, allocations: 4 kB / 0.791 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.2963, allocations: 119.7 kB / 0.7911 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.2968, allocations: 395.1 kB / 0.7915 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.2983, allocations: 495.3 kB / 0.7919 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.2986, allocations: 162.2 kB / 0.7921 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.591e-05/0.2987, allocations: 15.98 kB / 0.7921 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005231/0.2992, allocations: 315.5 kB / 0.7924 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.745e-06/0.2992, allocations: 0 / 0.7924 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008624/0.3001, allocations: 414 kB / 0.7928 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002102/0.3003, allocations: 350.1 kB / 0.7931 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.3005, allocations: 173.3 kB / 0.7933 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/0.3006, allocations: 41.7 kB / 0.7933 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.333e-05/0.3007, allocations: 105 kB / 0.7934 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.3008, allocations: 110.5 kB / 0.7935 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.301, allocations: 94.22 kB / 0.7936 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3011, allocations: 334.8 kB / 0.794 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.3014, allocations: 117.1 kB / 0.7941 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.3017, allocations: 169 kB / 0.7942 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005875/0.3023, allocations: 262.9 kB / 0.7945 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3024, allocations: 7.938 kB / 0.7945 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008456/0.3032, allocations: 379.8 kB / 0.7948 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.3032, allocations: 4 kB / 0.7949 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.3033, allocations: 0 / 0.7949 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/0.3033, allocations: 4 kB / 0.7949 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.3037, allocations: 79.81 kB / 0.7949 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.3037, allocations: 4 kB / 0.7949 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.304, allocations: 55.66 kB / 0.795 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.3041, allocations: 19.98 kB / 0.795 GB, free: 0.9922 MB / 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.0001956/0.3043, allocations: 154.8 kB / 0.7952 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-05/0.3044, allocations: 27.66 kB / 0.7952 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006973/0.3051, allocations: 362.2 kB / 0.7955 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.3051, allocations: 12 kB / 0.7955 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-06/0.3051, allocations: 4 kB / 0.7955 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.3051, allocations: 3.984 kB / 0.7955 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.3055, allocations: 349.1 kB / 0.7959 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3055, allocations: 3.938 kB / 0.7959 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.3058, allocations: 75.83 kB / 0.796 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.3059, allocations: 4 kB / 0.796 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.3059, allocations: 16 kB / 0.796 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.3059, allocations: 8 kB / 0.796 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3059, allocations: 3.984 kB / 0.796 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000821/0.3067, allocations: 0.4941 MB / 0.7965 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.3069, allocations: 148.6 kB / 0.7966 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.307, allocations: 19.98 kB / 0.7966 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.3072, allocations: 31.97 kB / 0.7967 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.3074, allocations: 51.83 kB / 0.7967 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.3074, allocations: 27.98 kB / 0.7967 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001226/0.3076, allocations: 128.8 kB / 0.7969 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3076, allocations: 0 / 0.7969 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000713/0.3083, allocations: 219.7 kB / 0.7971 GB, free: 14.75 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.0006574/0.3089, allocations: 326 kB / 0.7974 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007482/0.3097, allocations: 343 kB / 0.7977 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3097, allocations: 4 kB / 0.7977 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.3101, allocations: 183.7 kB / 0.7979 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.3104, allocations: 28.77 kB / 0.7979 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.3116, allocations: 0.5573 MB / 0.7985 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.3122, allocations: 0.7611 MB / 0.7992 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.3124, allocations: 55.25 kB / 0.7993 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.3125, allocations: 43.42 kB / 0.7993 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.3125, allocations: 0 / 0.7993 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of Templates: time 0.0118/0.3244, allocations: 5.598 MB / 0.8048 GB, free: 6.785 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (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)