Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",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.001591/0.001592, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001729/0.001729, allocations: 191.4 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.585/2.585, allocations: 469.8 MB / 0.7421 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 67.17 kB / 0.9082 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2311, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001828/0.233, allocations: 0.9626 MB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002611/0.2356, allocations: 2.467 MB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.2357, allocations: 0 / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.897e-05/0.2357, allocations: 11.86 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.2359, allocations: 47.67 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008297/0.2368, allocations: 447.8 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.2371, allocations: 315.1 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.2371, allocations: 17.62 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.2373, allocations: 143.6 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.2375, allocations: 151.5 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.005e-05/0.2375, allocations: 24 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004526/0.238, allocations: 323.7 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.436e-05/0.2381, allocations: 67.8 kB / 1.068 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.2382, allocations: 119.5 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006029/0.2388, allocations: 0.5494 MB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2388, allocations: 0 / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2388, allocations: 0 / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2388, allocations: 0 / 1.069 GB, free: 8.855 MB / 0.8262 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.001251/0.2401, allocations: 0.6606 MB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.2401, allocations: 8.031 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.89e-05/0.2402, allocations: 46.73 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.01e-05/0.2402, allocations: 24.66 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.2404, allocations: 185.5 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/0.2405, allocations: 139.3 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.2406, allocations: 16.38 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.2409, allocations: 251.6 kB / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.241, allocations: 3.938 kB / 1.07 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.241, allocations: 8 kB / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.241, allocations: 8 kB / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.2412, allocations: 111.8 kB / 1.07 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.2416, allocations: 391.1 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.243, allocations: 499.3 kB / 1.071 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.2432, allocations: 154.2 kB / 1.071 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.2433, allocations: 23.92 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004176/0.2437, allocations: 311.5 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 1.843e-06/0.2437, allocations: 0 / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.0007788/0.2445, allocations: 414.1 kB / 1.072 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/0.2447, allocations: 354.1 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.2448, allocations: 172.6 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.2449, allocations: 37.7 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.2449, allocations: 101.1 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.997e-05/0.245, allocations: 114.5 kB / 1.073 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.2452, allocations: 98.28 kB / 1.073 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2453, allocations: 334.8 kB / 1.073 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.2456, allocations: 113.1 kB / 1.073 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.2459, allocations: 173 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005048/0.2464, allocations: 265.1 kB / 1.074 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2464, allocations: 0 / 1.074 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007122/0.2471, allocations: 384.4 kB / 1.074 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2471, allocations: 4 kB / 1.074 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2471, allocations: 3.938 kB / 1.074 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.2471, allocations: 4 kB / 1.074 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.2475, allocations: 79.88 kB / 1.074 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2475, allocations: 0 / 1.074 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.2478, allocations: 55.66 kB / 1.074 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.2478, allocations: 27.92 kB / 1.074 GB, free: 2.805 MB / 0.8262 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.0001437/0.248, allocations: 153.7 kB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/0.2481, allocations: 31.66 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006476/0.2487, allocations: 350.2 kB / 1.075 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.2487, allocations: 8 kB / 1.075 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2487, allocations: 4 kB / 1.075 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.2488, allocations: 7.984 kB / 1.075 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.2491, allocations: 357 kB / 1.075 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2491, allocations: 8 kB / 1.075 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.2494, allocations: 71.83 kB / 1.075 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.2494, allocations: 8 kB / 1.075 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.2495, allocations: 12 kB / 1.075 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.2495, allocations: 11.98 kB / 1.075 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.2495, allocations: 7.938 kB / 1.075 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006709/0.2502, allocations: 0.4905 MB / 1.076 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.2503, allocations: 152.5 kB / 1.076 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.2504, allocations: 19.98 kB / 1.076 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.2506, allocations: 31.91 kB / 1.076 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-05/0.2507, allocations: 51.89 kB / 1.076 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.2508, allocations: 23.98 kB / 1.076 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.162e-05/0.2508, allocations: 123.2 kB / 1.076 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2509, allocations: 0 / 1.076 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004551/0.2513, allocations: 211.7 kB / 1.076 GB, free: 0.5586 MB / 0.8262 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.001333/0.2527, allocations: 1.24 MB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006223/0.2533, allocations: 356.5 kB / 1.078 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/0.2533, allocations: 8 kB / 1.078 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.2536, allocations: 179.7 kB / 1.078 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.2538, allocations: 37.8 kB / 1.078 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.2574, allocations: 2.85 MB / 1.081 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.2577, allocations: 0.7611 MB / 1.082 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002115/0.258, allocations: 58.44 kB / 1.082 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.2581, allocations: 95.38 kB / 1.082 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.2581, allocations: 0 / 1.082 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6862/0.9443, allocations: 7.603 MB / 1.089 GB, free: 3.324 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/0.9447, allocations: 232.6 kB / 1.09 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/3.236, allocations: 7.75 kB / 1.09 GB, free: 3.059 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)