Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",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.001585/0.001585, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00186/0.00186, allocations: 193.9 kB / 16.25 MB, free: 6.637 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.3/1.3, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.48/2.48, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 0.8689 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6083/0.6096, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.00216/0.6118, allocations: 0.9548 MB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002944/0.6147, allocations: 2.475 MB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.6149, allocations: 3.938 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.843e-05/0.6149, allocations: 7.922 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.6152, allocations: 43.69 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.6164, allocations: 464.4 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.6167, allocations: 319 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.634e-05/0.6168, allocations: 13.67 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.6171, allocations: 151.5 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.6173, allocations: 147.5 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.6174, allocations: 24 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000546/0.6179, allocations: 311.8 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.344e-05/0.618, allocations: 71.8 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.6181, allocations: 119.5 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008018/0.6189, allocations: 0.5454 MB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6189, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.473e-06/0.619, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.154e-05/0.619, allocations: 0 / 1.022 GB, free: 13.05 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.001476/0.6205, allocations: 0.6684 MB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.6205, allocations: 8.031 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.275e-05/0.6206, allocations: 46.73 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.289e-05/0.6207, allocations: 20.75 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.6208, allocations: 193.9 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/0.621, allocations: 131.4 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.6211, allocations: 20.36 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.6215, allocations: 243.7 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.6215, allocations: 0 / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.6215, allocations: 3.984 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.6215, allocations: 4 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.6218, allocations: 123.7 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.6222, allocations: 407 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.6237, allocations: 491.3 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.6239, allocations: 162.2 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.695e-05/0.624, allocations: 19.92 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004708/0.6245, allocations: 307.6 kB / 1.025 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=40): time 2.715e-06/0.6245, allocations: 3.938 kB / 1.025 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40): time 0.0008337/0.6253, allocations: 414.9 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/0.6255, allocations: 358.1 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.6256, allocations: 165.4 kB / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/0.6257, allocations: 41.69 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.6257, allocations: 93.14 kB / 1.026 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.6258, allocations: 118.4 kB / 1.026 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.626, allocations: 94.22 kB / 1.026 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6261, allocations: 334.8 kB / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.6264, allocations: 117.1 kB / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.6267, allocations: 165 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/0.6272, allocations: 278.9 kB / 1.027 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6272, allocations: 0 / 1.027 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007684/0.628, allocations: 373 kB / 1.028 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.628, allocations: 8 kB / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.628, allocations: 0 / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.628, allocations: 4.094 kB / 1.028 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.6284, allocations: 79.81 kB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.6285, allocations: 4 kB / 1.028 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.6288, allocations: 59.64 kB / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.6288, allocations: 19.98 kB / 1.028 GB, free: 6.992 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.0001591/0.629, allocations: 145.8 kB / 1.028 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.6291, allocations: 27.66 kB / 1.028 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006829/0.6297, allocations: 358.1 kB / 1.028 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.6298, allocations: 12 kB / 1.028 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.6298, allocations: 0 / 1.028 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.6298, allocations: 7.984 kB / 1.028 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.6302, allocations: 353.1 kB / 1.029 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.6302, allocations: 0 / 1.029 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.6305, allocations: 79.83 kB / 1.029 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.6305, allocations: 8 kB / 1.029 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.6306, allocations: 16.25 kB / 1.029 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/0.6306, allocations: 11.98 kB / 1.029 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.6306, allocations: 4 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007669/0.6314, allocations: 0.49 MB / 1.029 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.6315, allocations: 148.5 kB / 1.029 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-05/0.6316, allocations: 16 kB / 1.029 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.6318, allocations: 35.97 kB / 1.029 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.632, allocations: 55.81 kB / 1.029 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/0.632, allocations: 20 kB / 1.029 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001044/0.6321, allocations: 127.2 kB / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6321, allocations: 0 / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006258/0.6328, allocations: 215.7 kB / 1.03 GB, free: 4.75 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.001628/0.6344, allocations: 1.253 MB / 1.031 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006879/0.6351, allocations: 355.5 kB / 1.031 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6351, allocations: 0 / 1.031 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.6354, allocations: 192.4 kB / 1.032 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.6357, allocations: 37.89 kB / 1.032 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.6395, allocations: 2.832 MB / 1.034 GB, free: 15.87 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.6399, allocations: 0.765 MB / 1.035 GB, free: 15.08 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002316/0.6401, allocations: 56.81 kB / 1.035 GB, free: 15.03 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.6403, allocations: 103.4 kB / 1.035 GB, free: 14.93 MB / 0.795 GB Notification: Performance of SimCode: time 4.31e-07/0.6403, allocations: 0 / 1.035 GB, free: 14.93 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05176/0.6921, allocations: 7.596 MB / 1.043 GB, free: 7.516 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.6923, allocations: 230.9 kB / 1.043 GB, free: 7.262 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.613, allocations: 2.391 kB / 1.043 GB, free: 7.262 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)