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.00127/0.00127, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 187 kB / 16.62 MB, free: 6.613 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.444/1.444, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.79/1.79, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001544/0.001545, allocations: 67.73 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2373, allocations: 114.6 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002301/0.2396, allocations: 0.9149 MB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003177/0.2428, allocations: 2.512 MB / 0.787 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.2429, allocations: 0 / 0.787 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.957e-05/0.243, allocations: 15.8 kB / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.2433, allocations: 55.55 kB / 0.7871 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.2445, allocations: 0.4905 MB / 0.7875 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000334/0.2449, allocations: 315.1 kB / 0.7878 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.181e-05/0.2449, allocations: 17.67 kB / 0.7878 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.2451, allocations: 139.6 kB / 0.788 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.2454, allocations: 147.5 kB / 0.7881 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.2454, allocations: 28 kB / 0.7881 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005776/0.246, allocations: 367.7 kB / 0.7885 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.32e-05/0.2461, allocations: 75.77 kB / 0.7886 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.2462, allocations: 123.4 kB / 0.7887 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005778/0.2468, allocations: 0.5416 MB / 0.7892 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2468, allocations: 0 / 0.7892 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2468, allocations: 0 / 0.7892 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.2468, allocations: 0 / 0.7892 GB, free: 7.484 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.00132/0.2481, allocations: 0.6683 MB / 0.7899 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2482, allocations: 12.03 kB / 0.7899 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.032e-05/0.2482, allocations: 46.73 kB / 0.7899 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/0.2483, allocations: 20.75 kB / 0.7899 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.2485, allocations: 200.7 kB / 0.7901 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.2487, allocations: 123.4 kB / 0.7903 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.2487, allocations: 24.38 kB / 0.7903 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.2491, allocations: 239.6 kB / 0.7905 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2491, allocations: 0 / 0.7905 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.2491, allocations: 12 kB / 0.7905 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.2491, allocations: 4 kB / 0.7905 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.2493, allocations: 115.7 kB / 0.7906 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.2498, allocations: 391.2 kB / 0.791 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.2512, allocations: 491.3 kB / 0.7915 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.2514, allocations: 162.3 kB / 0.7916 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.232e-05/0.2515, allocations: 11.94 kB / 0.7916 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004992/0.252, allocations: 315.5 kB / 0.7919 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 1.884e-06/0.252, allocations: 0 / 0.7919 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008628/0.2529, allocations: 418.5 kB / 0.7923 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.253, allocations: 354.1 kB / 0.7927 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.2532, allocations: 173.6 kB / 0.7928 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.343e-05/0.2532, allocations: 41.7 kB / 0.7929 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.2533, allocations: 93.55 kB / 0.793 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.667e-05/0.2534, allocations: 114.5 kB / 0.7931 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.2535, allocations: 102.1 kB / 0.7932 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.2536, allocations: 330.8 kB / 0.7935 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.2539, allocations: 117 kB / 0.7936 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.2542, allocations: 169 kB / 0.7938 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005042/0.2547, allocations: 273.5 kB / 0.794 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2547, allocations: 0 / 0.794 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006883/0.2554, allocations: 373.2 kB / 0.7944 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2555, allocations: 4 kB / 0.7944 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2555, allocations: 4 kB / 0.7944 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2555, allocations: 0 / 0.7944 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.2559, allocations: 83.81 kB / 0.7945 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.2559, allocations: 8 kB / 0.7945 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.2562, allocations: 55.5 kB / 0.7945 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.2562, allocations: 19.92 kB / 0.7946 GB, free: 1.426 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 (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.0001602/0.2564, allocations: 149.8 kB / 0.7947 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.494e-05/0.2565, allocations: 23.75 kB / 0.7947 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006758/0.2571, allocations: 362.1 kB / 0.7951 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/0.2572, allocations: 8 kB / 0.7951 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.2572, allocations: 4 kB / 0.7951 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.2572, allocations: 7.984 kB / 0.7951 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/0.2576, allocations: 353 kB / 0.7954 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.2576, allocations: 4 kB / 0.7954 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.2579, allocations: 71.91 kB / 0.7955 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.2579, allocations: 4 kB / 0.7955 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.2579, allocations: 24.17 kB / 0.7955 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.258, allocations: 12 kB / 0.7955 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.258, allocations: 4 kB / 0.7955 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006967/0.2587, allocations: 0.4903 MB / 0.796 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.2588, allocations: 148.6 kB / 0.7962 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.388e-05/0.2589, allocations: 16 kB / 0.7962 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.2591, allocations: 27.97 kB / 0.7962 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.2593, allocations: 59.81 kB / 0.7963 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.17e-05/0.2593, allocations: 23.98 kB / 0.7963 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001037/0.2594, allocations: 132.8 kB / 0.7964 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2594, allocations: 0 / 0.7964 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006384/0.2601, allocations: 215.7 kB / 0.7966 GB, free: 15.18 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 (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.001446/0.2615, allocations: 1.248 MB / 0.7978 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006869/0.2622, allocations: 339.1 kB / 0.7981 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2622, allocations: 0 / 0.7981 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.2625, allocations: 188.4 kB / 0.7983 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.2629, allocations: 39.86 kB / 0.7984 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.2665, allocations: 2.749 MB / 0.8011 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.2669, allocations: 0.765 MB / 0.8018 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002046/0.2671, allocations: 55.3 kB / 0.8019 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.2673, allocations: 95.39 kB / 0.8019 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of SimCode: time 1.082e-06/0.2673, allocations: 0 / 0.8019 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.2921, allocations: 7.796 MB / 0.8096 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.203, allocations: 10.11 kB / 0.8096 GB, free: 1.77 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/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)