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.00128/0.00128, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001386/0.001386, allocations: 184 kB / 17.22 MB, free: 5.934 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.718/1.718, 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.937/1.937, 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.001779/0.001779, allocations: 67.91 kB / 0.6722 GB, free: 6.488 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3184, allocations: 114.6 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002786/0.3212, allocations: 0.8999 MB / 0.785 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003891/0.3251, allocations: 2.526 MB / 0.7874 GB, free: 376 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.3253, allocations: 0 / 0.7874 GB, free: 376 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.706e-05/0.3254, allocations: 11.81 kB / 0.7874 GB, free: 364 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003394/0.3258, allocations: 51.55 kB / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.4754/0.8012, allocations: 0.4921 MB / 0.788 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004099/0.8016, allocations: 316.8 kB / 0.7883 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.322e-05/0.8017, allocations: 13.16 kB / 0.7883 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.8019, allocations: 143.6 kB / 0.7884 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.8021, allocations: 151.1 kB / 0.7886 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.709e-05/0.8021, allocations: 22.66 kB / 0.7886 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006626/0.8028, allocations: 377 kB / 0.7889 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.8029, allocations: 66.59 kB / 0.789 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.803, allocations: 120.6 kB / 0.7891 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006004/0.8036, allocations: 0.5408 MB / 0.7897 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.8036, allocations: 0 / 0.7897 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8036, allocations: 0 / 0.7897 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.8036, allocations: 8.547 kB / 0.7897 GB, free: 46.42 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.00118/0.8048, allocations: 0.6618 MB / 0.7903 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.8049, allocations: 8.719 kB / 0.7903 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.291e-05/0.8049, allocations: 21.88 kB / 0.7903 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.8051, allocations: 197.3 kB / 0.7905 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.8052, allocations: 126.8 kB / 0.7906 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.8052, allocations: 22.31 kB / 0.7907 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.8055, allocations: 238.4 kB / 0.7909 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.8056, allocations: 5.812 kB / 0.7909 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.8056, allocations: 7.594 kB / 0.7909 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.8056, allocations: 5.25 kB / 0.7909 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.8058, allocations: 115.1 kB / 0.791 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.8062, allocations: 395.4 kB / 0.7914 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.8074, allocations: 498 kB / 0.7919 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.8075, allocations: 158.8 kB / 0.792 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.845e-05/0.8076, allocations: 12.53 kB / 0.792 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000417/0.808, allocations: 316.3 kB / 0.7923 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 1.893e-06/0.808, allocations: 3.438 kB / 0.7923 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0007022/0.8087, allocations: 412.9 kB / 0.7927 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/0.8088, allocations: 357.8 kB / 0.7931 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.8089, allocations: 165.7 kB / 0.7932 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.809, allocations: 40.05 kB / 0.7933 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.809, allocations: 99.59 kB / 0.7934 GB, free: 44 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.8091, allocations: 110.9 kB / 0.7935 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.8092, allocations: 102.1 kB / 0.7936 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.474e-05/0.8093, allocations: 332.8 kB / 0.7939 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.8095, allocations: 116 kB / 0.794 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.8098, allocations: 163.4 kB / 0.7942 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.8103, allocations: 273.7 kB / 0.7944 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8103, allocations: 0 / 0.7944 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006212/0.8109, allocations: 372.2 kB / 0.7948 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.8109, allocations: 10.78 kB / 0.7948 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.8109, allocations: 0.8438 kB / 0.7948 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.811, allocations: 3.5 kB / 0.7948 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.8113, allocations: 80.09 kB / 0.7949 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.8113, allocations: 7.344 kB / 0.7949 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.8116, allocations: 53.25 kB / 0.7949 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.8116, allocations: 18.23 kB / 0.7949 GB, free: 43.45 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.0001255/0.8118, allocations: 154.7 kB / 0.7951 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.8118, allocations: 25.38 kB / 0.7951 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005851/0.8124, allocations: 363.4 kB / 0.7955 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.8124, allocations: 10.38 kB / 0.7955 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.8124, allocations: 3.469 kB / 0.7955 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.8124, allocations: 8.5 kB / 0.7955 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.8128, allocations: 350.6 kB / 0.7958 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.8128, allocations: 5.688 kB / 0.7958 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.813, allocations: 77.78 kB / 0.7959 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.813, allocations: 6.531 kB / 0.7959 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.8131, allocations: 20.73 kB / 0.7959 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.8131, allocations: 3.5 kB / 0.7959 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.8131, allocations: 9.328 kB / 0.7959 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005994/0.8137, allocations: 497.8 kB / 0.7964 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.8138, allocations: 148.3 kB / 0.7965 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/0.8139, allocations: 19.5 kB / 0.7966 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.8141, allocations: 26.72 kB / 0.7966 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.943e-05/0.8142, allocations: 52.69 kB / 0.7966 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.8143, allocations: 31.84 kB / 0.7967 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.615e-05/0.8144, allocations: 128.4 kB / 0.7968 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.8144, allocations: 0 / 0.7968 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005801/0.8149, allocations: 214.5 kB / 0.797 GB, free: 42.61 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.000536/0.8155, allocations: 327.5 kB / 0.7973 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006366/0.8161, allocations: 338.3 kB / 0.7976 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.8161, allocations: 0 / 0.7976 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002632/0.8164, allocations: 193.5 kB / 0.7978 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.8167, allocations: 29.12 kB / 0.7978 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008175/0.8175, allocations: 0.5461 MB / 0.7984 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.8177, allocations: 0.7603 MB / 0.7991 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001817/0.8179, allocations: 55.8 kB / 0.7992 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.8181, allocations: 47.48 kB / 0.7992 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of SimCode: time 4.91e-07/0.8181, allocations: 0 / 0.7992 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.01235/0.8304, allocations: 5.593 MB / 0.8047 GB, free: 41.13 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)