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.001123/0.001124, allocations: 113.9 kB / 16.38 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.001091/0.001091, allocations: 187.1 kB / 17.31 MB, free: 5.621 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.699/1.699, allocations: 205.1 MB / 223.2 MB, free: 12.27 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 2.011/2.011, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001742/0.001742, allocations: 67.89 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2984, allocations: 114.5 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.00357/0.302, allocations: 0.9218 MB / 0.7857 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6306/0.9326, allocations: 2.512 MB / 0.7882 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.9329, allocations: 2.781 kB / 0.7882 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.97e-05/0.9331, allocations: 12 kB / 0.7882 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.9333, allocations: 48.98 kB / 0.7882 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.9346, allocations: 498.9 kB / 0.7887 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.9349, allocations: 323.9 kB / 0.789 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.017e-05/0.935, allocations: 17.31 kB / 0.789 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.9352, allocations: 139 kB / 0.7891 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.9354, allocations: 151.3 kB / 0.7893 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/0.9355, allocations: 25.12 kB / 0.7893 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006041/0.9361, allocations: 373.3 kB / 0.7897 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.298e-05/0.9362, allocations: 71.28 kB / 0.7897 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.9363, allocations: 115.8 kB / 0.7899 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000617/0.9369, allocations: 0.5502 MB / 0.7904 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.937, allocations: 0 / 0.7904 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.564e-06/0.937, allocations: 4.562 kB / 0.7904 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.937, allocations: 0 / 0.7904 GB, free: 46.25 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.001245/0.9382, allocations: 0.6667 MB / 0.791 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.9383, allocations: 7.875 kB / 0.7911 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.285e-05/0.9384, allocations: 21.03 kB / 0.7911 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.997e-05/0.9385, allocations: 193.2 kB / 0.7913 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.9386, allocations: 131.6 kB / 0.7914 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.9387, allocations: 17.44 kB / 0.7914 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.939, allocations: 243.6 kB / 0.7916 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.9391, allocations: 0 / 0.7916 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.9391, allocations: 9.375 kB / 0.7916 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.9391, allocations: 4.875 kB / 0.7916 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.9393, allocations: 114.6 kB / 0.7918 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.9397, allocations: 395.5 kB / 0.7921 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.9411, allocations: 493.3 kB / 0.7926 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.9413, allocations: 162.6 kB / 0.7928 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.9414, allocations: 13.16 kB / 0.7928 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004252/0.9418, allocations: 316.1 kB / 0.7931 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 2.405e-06/0.9418, allocations: 0 / 0.7931 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0008138/0.9426, allocations: 413.5 kB / 0.7935 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.9428, allocations: 356 kB / 0.7938 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.9429, allocations: 160.8 kB / 0.794 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.943, allocations: 44.84 kB / 0.794 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/0.943, allocations: 95.14 kB / 0.7941 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.081e-05/0.9431, allocations: 110.3 kB / 0.7942 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.9433, allocations: 98.89 kB / 0.7943 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.642e-05/0.9433, allocations: 335.6 kB / 0.7946 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.9436, allocations: 114.7 kB / 0.7947 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.9439, allocations: 172.1 kB / 0.7949 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.9444, allocations: 274.6 kB / 0.7951 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.9444, allocations: 0 / 0.7951 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006636/0.9451, allocations: 372 kB / 0.7955 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.9451, allocations: 8.156 kB / 0.7955 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.9451, allocations: 5.578 kB / 0.7955 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.9451, allocations: 0 / 0.7955 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.9455, allocations: 80.45 kB / 0.7956 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.9455, allocations: 3.438 kB / 0.7956 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.9458, allocations: 58.62 kB / 0.7957 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.9458, allocations: 23.33 kB / 0.7957 GB, free: 43.27 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.0001424/0.946, allocations: 155.1 kB / 0.7958 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.946, allocations: 29 kB / 0.7958 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006339/0.9467, allocations: 353 kB / 0.7962 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.9467, allocations: 10.66 kB / 0.7962 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.9467, allocations: 3.438 kB / 0.7962 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.9468, allocations: 147 kB / 0.7963 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.9469, allocations: 15.98 kB / 0.7964 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.9471, allocations: 30.3 kB / 0.7964 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.9473, allocations: 61.2 kB / 0.7964 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008962/0.9482, allocations: 1.356 MB / 0.7978 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008029/0.949, allocations: 1.386 MB / 0.7991 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000227/0.9492, allocations: 165.1 kB / 0.7993 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.232e-05/0.9493, allocations: 130.8 kB / 0.7994 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of Backend: time 2.81e-07/0.9493, allocations: 0 / 0.7994 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002194/0.9515, allocations: 488.2 kB / 0.7999 GB, free: 40.78 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0008725/0.9524, allocations: 0.8069 MB / 0.8007 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.01429/0.9667, allocations: 5.77 MB / 0.8063 GB, free: 39.8 MB / 0.6544 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)