Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_10_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.0009198/0.0009198, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005975/0.005975, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.305/1.305, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.501/2.501, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003152, allocations: 8 kB / 0.873 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5935/0.5938, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001114/0.595, allocations: 0.6119 MB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0031/0.5981, allocations: 2.51 MB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/0.5982, allocations: 0 / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.5982, allocations: 7.875 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.5984, allocations: 35.69 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.5992, allocations: 430.8 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.5995, allocations: 307 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.285e-05/0.5996, allocations: 17.66 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.5998, allocations: 135.5 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.6, allocations: 147.5 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.6001, allocations: 16 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004719/0.6005, allocations: 299.8 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.6006, allocations: 59.78 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.6008, allocations: 129.2 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006071/0.6014, allocations: 0.532 MB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6014, allocations: 0 / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6014, allocations: 0 / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.6014, allocations: 4 kB / 1.028 GB, free: 10.64 MB / 0.7794 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.001288/0.6027, allocations: 0.6256 MB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.6027, allocations: 16.03 kB / 1.029 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.727e-05/0.6028, allocations: 50.67 kB / 1.029 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.004e-05/0.6029, allocations: 24.66 kB / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.603, allocations: 194 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.6032, allocations: 131.3 kB / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.6032, allocations: 20.38 kB / 1.029 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.6036, allocations: 243.7 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.6036, allocations: 0 / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.6036, allocations: 4 kB / 1.029 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.6037, allocations: 7.938 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.6039, allocations: 115.7 kB / 1.03 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.6043, allocations: 403 kB / 1.03 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.6057, allocations: 495.3 kB / 1.03 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.6059, allocations: 166.2 kB / 1.031 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/0.606, allocations: 19.92 kB / 1.031 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004465/0.6064, allocations: 311.6 kB / 1.031 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=40): time 1.603e-06/0.6064, allocations: 0 / 1.031 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40): time 0.0007644/0.6072, allocations: 408.9 kB / 1.031 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/0.6074, allocations: 354.6 kB / 1.032 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.6075, allocations: 168.9 kB / 1.032 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.6076, allocations: 41.64 kB / 1.032 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/0.6076, allocations: 93.14 kB / 1.032 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.955e-05/0.6077, allocations: 122.4 kB / 1.032 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.856e-05/0.6078, allocations: 49.69 kB / 1.032 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.6079, allocations: 326.8 kB / 1.032 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.6082, allocations: 125 kB / 1.033 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.6085, allocations: 161 kB / 1.033 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005032/0.609, allocations: 262.9 kB / 1.033 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.609, allocations: 3.938 kB / 1.033 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007052/0.6097, allocations: 387.8 kB / 1.033 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.6098, allocations: 8 kB / 1.033 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.6098, allocations: 0 / 1.033 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.6098, allocations: 4 kB / 1.033 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.6101, allocations: 80.81 kB / 1.033 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.6102, allocations: 7.984 kB / 1.033 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.6105, allocations: 59.66 kB / 1.033 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.6105, allocations: 19.98 kB / 1.033 GB, free: 4.652 MB / 0.7794 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.0001511/0.6107, allocations: 149.8 kB / 1.034 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.6107, allocations: 28.41 kB / 1.034 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000686/0.6114, allocations: 366.1 kB / 1.034 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.6114, allocations: 8 kB / 1.034 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.6114, allocations: 4 kB / 1.034 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.6114, allocations: 7.984 kB / 1.034 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003717/0.6118, allocations: 353 kB / 1.034 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.6118, allocations: 4 kB / 1.034 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.6121, allocations: 75.84 kB / 1.034 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.6121, allocations: 4 kB / 1.034 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.6122, allocations: 19.98 kB / 1.034 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.6122, allocations: 4 kB / 1.034 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6122, allocations: 4 kB / 1.034 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006467/0.6128, allocations: 0.49 MB / 1.035 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.613, allocations: 152.5 kB / 1.035 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.6131, allocations: 16.25 kB / 1.035 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.6133, allocations: 47.97 kB / 1.035 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.6134, allocations: 51.81 kB / 1.035 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.6135, allocations: 23.98 kB / 1.035 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.638e-05/0.6136, allocations: 123.2 kB / 1.035 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6136, allocations: 3.938 kB / 1.035 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005618/0.6141, allocations: 211.7 kB / 1.036 GB, free: 2.395 MB / 0.7794 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.001359/0.6155, allocations: 1.242 MB / 1.037 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006223/0.6161, allocations: 336.2 kB / 1.037 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6161, allocations: 3.938 kB / 1.037 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.6164, allocations: 183.7 kB / 1.037 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.6168, allocations: 36.39 kB / 1.037 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.6207, allocations: 2.838 MB / 1.04 GB, free: 13.55 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.621, allocations: 0.7652 MB / 1.041 GB, free: 12.75 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002214/0.6212, allocations: 54.06 kB / 1.041 GB, free: 12.71 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.6215, allocations: 95.39 kB / 1.041 GB, free: 12.61 MB / 0.795 GB Notification: Performance of SimCode: time 1.422e-06/0.6215, allocations: 0 / 1.041 GB, free: 12.61 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06897/0.6904, allocations: 7.304 MB / 1.048 GB, free: 5.504 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/0.6907, allocations: 236.3 kB / 1.048 GB, free: 5.246 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.534, allocations: 2.031 kB / 1.048 GB, free: 5.246 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)