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.0009603/0.0009603, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009529/0.0009529, allocations: 188.1 kB / 16.13 MB, free: 6.66 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.455/1.455, allocations: 205.1 MB / 222 MB, free: 4.969 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.619/1.619, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001522/0.001523, allocations: 70.16 kB / 0.6709 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2277, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002186/0.2299, allocations: 0.9644 MB / 0.7837 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003384/0.2333, allocations: 2.57 MB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.759e-05/0.2334, allocations: 0 / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.53e-05/0.2335, allocations: 3.938 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.2337, allocations: 39.67 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000972/0.2347, allocations: 426 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.235, allocations: 307.1 kB / 0.787 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.415e-05/0.2351, allocations: 13.62 kB / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.2352, allocations: 127.6 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.2354, allocations: 143.5 kB / 0.7873 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.87e-05/0.2355, allocations: 20 kB / 0.7873 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004641/0.236, allocations: 303.7 kB / 0.7876 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.11e-05/0.236, allocations: 59.78 kB / 0.7876 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.2361, allocations: 111.4 kB / 0.7877 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006286/0.2368, allocations: 0.5338 MB / 0.7883 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2368, allocations: 0 / 0.7883 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2368, allocations: 0 / 0.7883 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2368, allocations: 0 / 0.7883 GB, free: 8.312 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.001299/0.2381, allocations: 0.6645 MB / 0.7889 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.2382, allocations: 12.03 kB / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.227e-05/0.2382, allocations: 50.67 kB / 0.789 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.342e-05/0.2383, allocations: 24.75 kB / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.2384, allocations: 192.7 kB / 0.7892 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.2386, allocations: 127.4 kB / 0.7893 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.2386, allocations: 20.38 kB / 0.7893 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.239, allocations: 243.7 kB / 0.7896 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.239, allocations: 3.938 kB / 0.7896 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.239, allocations: 15.98 kB / 0.7896 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.239, allocations: 4 kB / 0.7896 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.2393, allocations: 107.8 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.2397, allocations: 395.1 kB / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.2411, allocations: 495.3 kB / 0.7905 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.2413, allocations: 150.3 kB / 0.7907 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.2413, allocations: 23.91 kB / 0.7907 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004459/0.2418, allocations: 307.5 kB / 0.791 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 1.813e-06/0.2418, allocations: 0 / 0.791 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0007614/0.2425, allocations: 417.8 kB / 0.7914 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/0.2427, allocations: 350.1 kB / 0.7917 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.2428, allocations: 163.3 kB / 0.7919 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.2429, allocations: 41.7 kB / 0.7919 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.243, allocations: 101 kB / 0.792 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.683e-05/0.2431, allocations: 110.8 kB / 0.7921 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.2432, allocations: 106.1 kB / 0.7922 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.2433, allocations: 326.8 kB / 0.7925 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.2436, allocations: 118 kB / 0.7926 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.2439, allocations: 169 kB / 0.7928 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005052/0.2444, allocations: 266 kB / 0.7931 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2444, allocations: 0 / 0.7931 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007233/0.2451, allocations: 380.2 kB / 0.7934 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2452, allocations: 4 kB / 0.7934 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2452, allocations: 4 kB / 0.7934 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.2452, allocations: 0 / 0.7934 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.2456, allocations: 79.97 kB / 0.7935 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.2456, allocations: 8 kB / 0.7935 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.2458, allocations: 55.56 kB / 0.7936 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.2459, allocations: 27.91 kB / 0.7936 GB, free: 2.266 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.0001446/0.246, allocations: 157.7 kB / 0.7937 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/0.2461, allocations: 27.73 kB / 0.7938 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006311/0.2467, allocations: 358 kB / 0.7941 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.2468, allocations: 8 kB / 0.7941 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.2468, allocations: 4 kB / 0.7941 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.2468, allocations: 4 kB / 0.7941 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.2471, allocations: 353 kB / 0.7945 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.2472, allocations: 11.94 kB / 0.7945 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.2474, allocations: 71.84 kB / 0.7945 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.2475, allocations: 4 kB / 0.7945 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.2475, allocations: 19.98 kB / 0.7946 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.2475, allocations: 4 kB / 0.7946 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.2475, allocations: 11.92 kB / 0.7946 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006642/0.2482, allocations: 0.498 MB / 0.7951 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.2483, allocations: 144.6 kB / 0.7952 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.2484, allocations: 23.98 kB / 0.7952 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.2486, allocations: 23.98 kB / 0.7953 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.2487, allocations: 51.88 kB / 0.7953 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.2488, allocations: 23.98 kB / 0.7953 GB, free: 364 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.507e-05/0.2489, allocations: 128.5 kB / 0.7954 GB, free: 236 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2489, allocations: 4 kB / 0.7955 GB, free: 232 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004963/0.2494, allocations: 215.7 kB / 0.7957 GB, free: 16 kB / 0.6075 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.001318/0.2507, allocations: 1.244 MB / 0.7969 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000591/0.2513, allocations: 335.1 kB / 0.7972 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2513, allocations: 4 kB / 0.7972 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.2516, allocations: 184.6 kB / 0.7974 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.2519, allocations: 35.92 kB / 0.7974 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.2556, allocations: 2.844 MB / 0.8002 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.2559, allocations: 0.7652 MB / 0.8009 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002205/0.2561, allocations: 59.25 kB / 0.801 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.2563, allocations: 95.38 kB / 0.8011 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of SimCode: time 1.873e-06/0.2563, allocations: 112 / 0.8011 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.2755, allocations: 7.376 MB / 0.8083 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.2758, allocations: 211.2 kB / 0.8085 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.172, allocations: 2.25 kB / 0.8085 GB, free: 2.691 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)