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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009234/0.0009233, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009491/0.000949, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.699/1.699, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0004798/0.0004798, allocations: 10.16 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2477, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.0009647/0.2487, allocations: 0.595 MB / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002664/0.2514, allocations: 2.409 MB / 0.7902 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.521e-05/0.2515, allocations: 3.938 kB / 0.7902 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/0.2515, allocations: 7.922 kB / 0.7902 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.2517, allocations: 51.83 kB / 0.7902 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007475/0.2525, allocations: 407 kB / 0.7906 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.2527, allocations: 191.6 kB / 0.7908 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.299e-05/0.2528, allocations: 13.62 kB / 0.7908 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.253, allocations: 139.6 kB / 0.791 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.2532, allocations: 143.6 kB / 0.7911 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.2532, allocations: 12 kB / 0.7911 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000494/0.2537, allocations: 295.7 kB / 0.7914 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.197e-05/0.2538, allocations: 59.78 kB / 0.7914 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.2539, allocations: 57.64 kB / 0.7915 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005006/0.2544, allocations: 403 kB / 0.7919 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2544, allocations: 0 / 0.7919 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2544, allocations: 3.938 kB / 0.7919 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.2544, allocations: 0 / 0.7919 GB, free: 7.102 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.001257/0.2557, allocations: 0.6331 MB / 0.7925 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2557, allocations: 8.031 kB / 0.7925 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.825e-05/0.2558, allocations: 50.55 kB / 0.7926 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.2559, allocations: 19.81 kB / 0.7926 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.256, allocations: 199.4 kB / 0.7928 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.2562, allocations: 134.7 kB / 0.7929 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.2562, allocations: 16 kB / 0.7929 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.2566, allocations: 235.8 kB / 0.7931 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2566, allocations: 7.984 kB / 0.7931 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.2566, allocations: 7.984 kB / 0.7931 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.2566, allocations: 4 kB / 0.7932 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.2569, allocations: 111.7 kB / 0.7933 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.2573, allocations: 403.1 kB / 0.7936 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.2587, allocations: 495.5 kB / 0.7941 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.558e-05/0.2588, allocations: 19.98 kB / 0.7941 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00051/0.2593, allocations: 303.7 kB / 0.7944 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 1.864e-06/0.2593, allocations: 0 / 0.7944 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0007439/0.2601, allocations: 414 kB / 0.7948 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002236/0.2603, allocations: 354.2 kB / 0.7952 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.2604, allocations: 163.3 kB / 0.7953 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.2605, allocations: 37.7 kB / 0.7953 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/0.2606, allocations: 97.12 kB / 0.7954 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.2607, allocations: 114.4 kB / 0.7955 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.2607, allocations: 12 kB / 0.7956 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2608, allocations: 338.8 kB / 0.7959 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.2611, allocations: 113.1 kB / 0.796 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.2614, allocations: 168.9 kB / 0.7962 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.2617, allocations: 119.6 kB / 0.7963 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2617, allocations: 0 / 0.7963 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007054/0.2624, allocations: 368.2 kB / 0.7966 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.2624, allocations: 11.98 kB / 0.7966 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2624, allocations: 0 / 0.7966 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2625, allocations: 4 kB / 0.7966 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.2628, allocations: 75.83 kB / 0.7967 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.2629, allocations: 7.984 kB / 0.7967 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.2632, allocations: 60.58 kB / 0.7968 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.2632, allocations: 23.98 kB / 0.7968 GB, free: 1.527 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 ($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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001668/0.2634, allocations: 161.7 kB / 0.7969 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.2634, allocations: 19.81 kB / 0.797 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006726/0.2641, allocations: 369.9 kB / 0.7973 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.2641, allocations: 8 kB / 0.7973 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.2641, allocations: 4 kB / 0.7973 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.2642, allocations: 7.984 kB / 0.7973 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.2646, allocations: 349.1 kB / 0.7977 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.2646, allocations: 4 kB / 0.7977 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.2649, allocations: 71.84 kB / 0.7977 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.2649, allocations: 8 kB / 0.7978 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.2649, allocations: 23.92 kB / 0.7978 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.2649, allocations: 4 kB / 0.7978 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.2649, allocations: 4 kB / 0.7978 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007866/0.2657, allocations: 0.6138 MB / 0.7984 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.2659, allocations: 148.6 kB / 0.7985 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.266, allocations: 23.98 kB / 0.7985 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.2662, allocations: 36.23 kB / 0.7986 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.2663, allocations: 47.88 kB / 0.7986 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.773e-05/0.2664, allocations: 31.94 kB / 0.7987 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.833e-05/0.2665, allocations: 136.5 kB / 0.7988 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2665, allocations: 0 / 0.7988 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005548/0.2671, allocations: 211.7 kB / 0.799 GB, free: 15.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001624/0.2687, allocations: 2.124 MB / 0.8011 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006282/0.2693, allocations: 329 kB / 0.8014 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2693, allocations: 3.938 kB / 0.8014 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.2696, allocations: 183.7 kB / 0.8016 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.2698, allocations: 16.19 kB / 0.8016 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.2713, allocations: 1.442 MB / 0.803 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.2717, allocations: 0.7652 MB / 0.8037 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002115/0.2719, allocations: 63.23 kB / 0.8038 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.2721, allocations: 95.39 kB / 0.8039 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2721, allocations: 0 / 0.8039 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.2904, allocations: 7.267 MB / 0.811 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/0.2906, allocations: 194 kB / 0.8112 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/2.42, allocations: 3.938 kB / 0.8112 GB, free: 2.477 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) Environment - environmentSimulation: