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.001307/0.001307, 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.001388/0.001388, allocations: 195.5 kB / 16.14 MB, free: 6.645 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.276/1.276, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.397/2.397, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.91 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5786/0.58, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001919/0.5819, allocations: 0.9625 MB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002835/0.5848, allocations: 2.541 MB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.003e-05/0.5849, allocations: 3.938 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.5849, allocations: 3.938 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.5852, allocations: 39.69 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009436/0.5861, allocations: 422.8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.5865, allocations: 303 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.404e-05/0.5865, allocations: 29.64 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.5868, allocations: 131.5 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.587, allocations: 143.5 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.436e-05/0.587, allocations: 12 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005578/0.5876, allocations: 299.8 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.763e-05/0.5876, allocations: 63.78 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.5878, allocations: 103.5 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007066/0.5885, allocations: 0.5476 MB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5885, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.61e-07/0.5885, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.5885, allocations: 0 / 1.022 GB, free: 13.16 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.00131/0.5898, allocations: 0.6586 MB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.5899, allocations: 12.03 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.559e-05/0.5899, allocations: 46.73 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.478e-05/0.59, allocations: 20.75 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.5901, allocations: 194.3 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.5903, allocations: 131.4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.5903, allocations: 20.31 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.5907, allocations: 243.7 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.5907, allocations: 0 / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.5907, allocations: 11.98 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.5907, allocations: 4 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.5909, allocations: 115.7 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.5914, allocations: 403 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.5927, allocations: 499.3 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.5929, allocations: 158.2 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.593, allocations: 19.92 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004174/0.5934, allocations: 307.5 kB / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=40): time 2.274e-06/0.5934, allocations: 0 / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40): time 0.0007819/0.5942, allocations: 417.8 kB / 1.025 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.5943, allocations: 358.6 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.5945, allocations: 168.9 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.5945, allocations: 41.7 kB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.5946, allocations: 97.12 kB / 1.026 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.27e-05/0.5947, allocations: 114.4 kB / 1.026 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.5948, allocations: 90.23 kB / 1.026 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5949, allocations: 334.8 kB / 1.026 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.5952, allocations: 121 kB / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.5955, allocations: 165 kB / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/0.596, allocations: 270.4 kB / 1.027 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.596, allocations: 4 kB / 1.027 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000725/0.5968, allocations: 377.2 kB / 1.027 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.5968, allocations: 9.547 kB / 1.027 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5968, allocations: 0 / 1.027 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5968, allocations: 4 kB / 1.027 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.5972, allocations: 71.83 kB / 1.027 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.5972, allocations: 7.984 kB / 1.027 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.5975, allocations: 51.67 kB / 1.027 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.5975, allocations: 19.98 kB / 1.027 GB, free: 7.117 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.0001385/0.5977, allocations: 149.8 kB / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-05/0.5977, allocations: 27.66 kB / 1.028 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006484/0.5984, allocations: 358.8 kB / 1.028 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.5984, allocations: 12 kB / 1.028 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.5984, allocations: 4 kB / 1.028 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.5984, allocations: 4.172 kB / 1.028 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003459/0.5988, allocations: 357.4 kB / 1.028 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5988, allocations: 0 / 1.028 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.5991, allocations: 79.84 kB / 1.028 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.5991, allocations: 11.98 kB / 1.028 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.5991, allocations: 19.92 kB / 1.028 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/0.5991, allocations: 8 kB / 1.028 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5992, allocations: 0 / 1.028 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006507/0.5998, allocations: 0.49 MB / 1.029 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.6, allocations: 152.5 kB / 1.029 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.15e-05/0.6, allocations: 16 kB / 1.029 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.6003, allocations: 35.97 kB / 1.029 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.6004, allocations: 51.81 kB / 1.029 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.6004, allocations: 23.98 kB / 1.029 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.224e-05/0.6005, allocations: 123.2 kB / 1.029 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.074e-06/0.6005, allocations: 0 / 1.029 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005287/0.601, allocations: 215.7 kB / 1.03 GB, free: 4.867 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.001323/0.6024, allocations: 1.246 MB / 1.031 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005951/0.603, allocations: 331.2 kB / 1.031 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.603, allocations: 0 / 1.031 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.6033, allocations: 191.7 kB / 1.031 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.6035, allocations: 36.48 kB / 1.031 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.6069, allocations: 2.829 MB / 1.034 GB, free: 28 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.6072, allocations: 0.7614 MB / 1.035 GB, free: 15.24 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002189/0.6075, allocations: 55.94 kB / 1.035 GB, free: 15.19 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.6077, allocations: 95.33 kB / 1.035 GB, free: 15.1 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.6077, allocations: 4 kB / 1.035 GB, free: 15.09 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.6252, allocations: 7.417 MB / 1.042 GB, free: 7.84 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/0.6254, allocations: 224.5 kB / 1.042 GB, free: 7.59 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.335, allocations: 0 / 1.042 GB, free: 7.59 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)