Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.568/1.568, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001339/0.001339, allocations: 183.7 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.294/2.294, allocations: 205.4 MB / 0.578 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006988/0.0006989, allocations: 82.38 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 8.938 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2612, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.0009389/0.2622, allocations: 0.6302 MB / 0.9015 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002478/0.2647, allocations: 2.553 MB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.2647, allocations: 0 / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.2648, allocations: 7.875 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.265, allocations: 43.69 kB / 0.9041 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008739/0.2659, allocations: 418.8 kB / 0.9045 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.2662, allocations: 307.1 kB / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.736e-05/0.2663, allocations: 13.67 kB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.2665, allocations: 123.6 kB / 0.9049 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.2667, allocations: 155.4 kB / 0.905 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.2667, allocations: 16 kB / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004687/0.2672, allocations: 299.8 kB / 0.9054 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.244e-05/0.2673, allocations: 59.78 kB / 0.9054 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.2674, allocations: 133.2 kB / 0.9055 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005848/0.268, allocations: 0.5378 MB / 0.9061 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.268, allocations: 4 kB / 0.9061 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.272e-06/0.268, allocations: 0 / 0.9061 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.268, allocations: 0 / 0.9061 GB, free: 58.09 MB / 0.6042 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.001156/0.2692, allocations: 0.6179 MB / 0.9067 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.2692, allocations: 12.03 kB / 0.9067 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.2693, allocations: 46.73 kB / 0.9067 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.2693, allocations: 28.66 kB / 0.9068 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.344e-05/0.2694, allocations: 188.8 kB / 0.9069 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.2696, allocations: 123.4 kB / 0.907 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.2696, allocations: 24.38 kB / 0.9071 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.2699, allocations: 239.6 kB / 0.9073 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2699, allocations: 4 kB / 0.9073 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.2699, allocations: 4 kB / 0.9073 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.27, allocations: 4 kB / 0.9073 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.2702, allocations: 123.7 kB / 0.9074 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.2705, allocations: 407 kB / 0.9078 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.2719, allocations: 0.4954 MB / 0.9083 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.2721, allocations: 154.3 kB / 0.9084 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.2721, allocations: 11.94 kB / 0.9085 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003888/0.2725, allocations: 304.3 kB / 0.9088 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 1.683e-06/0.2725, allocations: 0 / 0.9088 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0006761/0.2732, allocations: 409.4 kB / 0.9091 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/0.2733, allocations: 358 kB / 0.9095 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.2734, allocations: 174.1 kB / 0.9096 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.2735, allocations: 37.7 kB / 0.9097 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.2735, allocations: 93.14 kB / 0.9098 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.2736, allocations: 114.4 kB / 0.9099 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.2736, allocations: 11.94 kB / 0.9099 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.915e-05/0.2737, allocations: 334.8 kB / 0.9102 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.2739, allocations: 121 kB / 0.9103 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.2742, allocations: 173 kB / 0.9105 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/0.2747, allocations: 263 kB / 0.9107 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.2747, allocations: 4 kB / 0.9107 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006156/0.2753, allocations: 385.1 kB / 0.9111 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2753, allocations: 4 kB / 0.9111 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2753, allocations: 4.75 kB / 0.9111 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2754, allocations: 1 kB / 0.9111 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.2757, allocations: 83.81 kB / 0.9112 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2758, allocations: 4 kB / 0.9112 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.276, allocations: 59.66 kB / 0.9113 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.2761, allocations: 19.98 kB / 0.9113 GB, free: 52.16 MB / 0.6042 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 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * 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.0001354/0.2762, allocations: 153.7 kB / 0.9114 GB, free: 52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.2763, allocations: 35.64 kB / 0.9115 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005656/0.2769, allocations: 358.1 kB / 0.9118 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.2769, allocations: 8 kB / 0.9118 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.2769, allocations: 4 kB / 0.9118 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.2769, allocations: 4 kB / 0.9118 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.2772, allocations: 357 kB / 0.9122 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.2772, allocations: 8 kB / 0.9122 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.2775, allocations: 63.91 kB / 0.9122 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.2775, allocations: 11.94 kB / 0.9122 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.2775, allocations: 19.98 kB / 0.9123 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.2775, allocations: 4 kB / 0.9123 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.2775, allocations: 4 kB / 0.9123 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006034/0.2782, allocations: 0.4939 MB / 0.9128 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.2783, allocations: 152.8 kB / 0.9129 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.2784, allocations: 23.98 kB / 0.9129 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.2786, allocations: 31.98 kB / 0.913 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.2787, allocations: 59.81 kB / 0.913 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.2787, allocations: 27.98 kB / 0.913 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.13e-05/0.2788, allocations: 127.8 kB / 0.9132 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2788, allocations: 0 / 0.9132 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005377/0.2794, allocations: 211.7 kB / 0.9134 GB, free: 49.89 MB / 0.6042 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.00109/0.2805, allocations: 1.253 MB / 0.9146 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005494/0.281, allocations: 327.2 kB / 0.9149 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.281, allocations: 0 / 0.9149 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.2813, allocations: 187.6 kB / 0.9151 GB, free: 48.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.2816, allocations: 39.86 kB / 0.9151 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.2849, allocations: 2.855 MB / 0.9179 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.2852, allocations: 0.7575 MB / 0.9186 GB, free: 44.24 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002286/0.2854, allocations: 63.23 kB / 0.9187 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.2856, allocations: 91.39 kB / 0.9188 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of SimCode: time 9.22e-07/0.2856, allocations: 0 / 0.9188 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05096/0.3366, allocations: 7.274 MB / 0.9259 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/0.3369, allocations: 228 kB / 0.9261 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/2.577, allocations: 0 / 0.9261 GB, free: 36.71 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)