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.001654/0.001654, allocations: 106.1 kB / 15.99 MB, free: 6.355 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.001924/0.001924, allocations: 185.5 kB / 16.9 MB, free: 6.184 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.523/1.523, allocations: 205.1 MB / 222.8 MB, free: 12.43 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.755/1.755, allocations: 292.3 MB / 0.5492 GB, free: 17.55 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.001409/0.001409, allocations: 67.03 kB / 0.6717 GB, free: 6.945 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.235, allocations: 114.6 MB / 0.7835 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002025/0.2371, allocations: 0.9608 MB / 0.7845 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002702/0.2398, allocations: 2.514 MB / 0.7869 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.526e-05/0.2399, allocations: 3.938 kB / 0.7869 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.476e-05/0.24, allocations: 3.938 kB / 0.7869 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.2402, allocations: 51.67 kB / 0.787 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.2412, allocations: 451.1 kB / 0.7874 GB, free: 284 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3723/0.6135, allocations: 314.5 kB / 0.7877 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.6137, allocations: 12.17 kB / 0.7877 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003726/0.6141, allocations: 138.6 kB / 0.7878 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.6143, allocations: 156.8 kB / 0.788 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.6143, allocations: 23.62 kB / 0.788 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007514/0.6151, allocations: 316.2 kB / 0.7883 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.6151, allocations: 65.61 kB / 0.7884 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.6153, allocations: 122.5 kB / 0.7885 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004712/0.6157, allocations: 405.6 kB / 0.7889 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6158, allocations: 1.125 kB / 0.7889 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6158, allocations: 0 / 0.7889 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.6158, allocations: 0 / 0.7889 GB, free: 45.75 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.001235/0.617, allocations: 0.6634 MB / 0.7895 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.6171, allocations: 12.31 kB / 0.7895 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.897e-05/0.6171, allocations: 22.67 kB / 0.7896 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.31e-05/0.6172, allocations: 195.3 kB / 0.7898 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.6174, allocations: 125.4 kB / 0.7899 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.6174, allocations: 23.77 kB / 0.7899 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.6177, allocations: 243.9 kB / 0.7901 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.6178, allocations: 0.75 kB / 0.7901 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.6178, allocations: 8.531 kB / 0.7901 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.6178, allocations: 8.625 kB / 0.7901 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.618, allocations: 114.6 kB / 0.7903 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.6184, allocations: 395 kB / 0.7906 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.6197, allocations: 499.2 kB / 0.7911 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.6198, allocations: 157.2 kB / 0.7913 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.6199, allocations: 13.06 kB / 0.7913 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004437/0.6203, allocations: 308.6 kB / 0.7916 GB, free: 44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 2.164e-06/0.6203, allocations: 2.156 kB / 0.7916 GB, free: 44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0007464/0.6211, allocations: 417.3 kB / 0.792 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.6212, allocations: 356.4 kB / 0.7923 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.6214, allocations: 169.8 kB / 0.7925 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.6214, allocations: 42.81 kB / 0.7925 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.6215, allocations: 99.7 kB / 0.7926 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.844e-05/0.6216, allocations: 106.8 kB / 0.7927 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.6218, allocations: 104 kB / 0.7928 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.6219, allocations: 332.6 kB / 0.7931 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.6221, allocations: 114.6 kB / 0.7932 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.6224, allocations: 173.1 kB / 0.7934 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.6229, allocations: 264.6 kB / 0.7936 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.6229, allocations: 0 / 0.7936 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006716/0.6236, allocations: 376.6 kB / 0.794 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.6236, allocations: 6.234 kB / 0.794 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.6237, allocations: 3.438 kB / 0.794 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.6237, allocations: 5.688 kB / 0.794 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.6241, allocations: 79.27 kB / 0.7941 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.6241, allocations: 6.031 kB / 0.7941 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.6244, allocations: 53.94 kB / 0.7942 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.6244, allocations: 23.12 kB / 0.7942 GB, free: 42.78 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.0001476/0.6246, allocations: 153.8 kB / 0.7943 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.6246, allocations: 28.67 kB / 0.7943 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006321/0.6253, allocations: 358.4 kB / 0.7947 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.6253, allocations: 10.38 kB / 0.7947 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.6253, allocations: 3.5 kB / 0.7947 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.6253, allocations: 7.234 kB / 0.7947 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.6257, allocations: 351.4 kB / 0.795 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6257, allocations: 3.469 kB / 0.795 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.626, allocations: 77.11 kB / 0.7951 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.626, allocations: 3.438 kB / 0.7951 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.626, allocations: 16.67 kB / 0.7951 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.626, allocations: 8.75 kB / 0.7951 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.626, allocations: 6.781 kB / 0.7952 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006004/0.6267, allocations: 498.7 kB / 0.7956 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.6268, allocations: 158 kB / 0.7958 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/0.6268, allocations: 16.97 kB / 0.7958 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.6271, allocations: 28.25 kB / 0.7958 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.6272, allocations: 50.92 kB / 0.7959 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.6272, allocations: 24.12 kB / 0.7959 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.141e-05/0.6273, allocations: 140.6 kB / 0.796 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6273, allocations: 0 / 0.796 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006015/0.6279, allocations: 212 kB / 0.7962 GB, free: 41.94 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.0004863/0.6284, allocations: 324.7 kB / 0.7965 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005985/0.629, allocations: 362 kB / 0.7969 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.629, allocations: 0 / 0.7969 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.6293, allocations: 188.2 kB / 0.7971 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.6296, allocations: 29.11 kB / 0.7971 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008991/0.6305, allocations: 0.6774 MB / 0.7978 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.6307, allocations: 0.7592 MB / 0.7985 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.6308, allocations: 48.97 kB / 0.7985 GB, free: 40.65 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6309, allocations: 0 / 0.7985 GB, free: 40.65 MB / 0.6544 GB Notification: Performance of Templates: time 0.009739/0.6406, allocations: 5.201 MB / 0.8036 GB, free: 40.19 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)