Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 249.5 MB / 257 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 179.6 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.3 MB / 0.5671 GB, free: 15.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008829/0.0008828, allocations: 98.03 kB / 0.6714 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.974e-05/1.984e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1922, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.686/0.8782, allocations: 133 MB / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001645/0.8784, allocations: 80.56 kB / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03112/0.9095, allocations: 10.32 MB / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.538e-06/0.9096, allocations: 0 / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.9096, allocations: 7.938 kB / 1.025 GB, free: 11.8 MB / 0.6511 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.001142/0.9107, allocations: 0.6237 MB / 1.026 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.9108, allocations: 8.031 kB / 1.026 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.195e-05/0.9108, allocations: 19.81 kB / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.911, allocations: 193.1 kB / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.911, allocations: 7.984 kB / 1.026 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.9111, allocations: 15.12 kB / 1.026 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000196/0.9113, allocations: 85.08 kB / 1.026 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.9115, allocations: 220.1 kB / 1.026 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.9116, allocations: 3.938 kB / 1.026 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.9116, allocations: 7.984 kB / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.9116, allocations: 8 kB / 1.026 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.912, allocations: 355.4 kB / 1.027 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.9133, allocations: 477.4 kB / 1.027 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.9135, allocations: 143.4 kB / 1.027 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.9135, allocations: 7.984 kB / 1.027 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004041/0.9139, allocations: 297.9 kB / 1.028 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 2.023e-06/0.9139, allocations: 3.938 kB / 1.028 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.002362/0.9163, allocations: 0.5246 MB / 1.028 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.9164, allocations: 349.5 kB / 1.029 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.9166, allocations: 154.8 kB / 1.029 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.9166, allocations: 29.7 kB / 1.029 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.9167, allocations: 102.4 kB / 1.029 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.35e-05/0.9168, allocations: 102.4 kB / 1.029 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.9168, allocations: 4 kB / 1.029 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.9169, allocations: 327.9 kB / 1.029 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.9171, allocations: 105 kB / 1.029 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.9173, allocations: 152 kB / 1.029 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/0.9203, allocations: 497.1 kB / 1.03 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.9203, allocations: 0 / 1.03 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003309/0.9236, allocations: 0.7241 MB / 1.031 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.9236, allocations: 14.12 kB / 1.031 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.9236, allocations: 12.03 kB / 1.031 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.9237, allocations: 4 kB / 1.031 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.924, allocations: 67.7 kB / 1.031 GB, free: 6.293 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.924, allocations: 7.938 kB / 1.031 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.9243, allocations: 47.66 kB / 1.031 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.9244, allocations: 19.17 kB / 1.031 GB, free: 6.223 MB / 0.6511 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 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 4 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001651/0.9245, allocations: 128.1 kB / 1.031 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002198/0.9267, allocations: 0.5303 MB / 1.031 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.9268, allocations: 27.7 kB / 1.032 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005505/0.9273, allocations: 323.1 kB / 1.032 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.9274, allocations: 12 kB / 1.032 GB, free: 5.332 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.9274, allocations: 4.062 kB / 1.032 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.9274, allocations: 8 kB / 1.032 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.9277, allocations: 302.2 kB / 1.032 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.9277, allocations: 0 / 1.032 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.928, allocations: 79.64 kB / 1.032 GB, free: 4.953 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.928, allocations: 4 kB / 1.032 GB, free: 4.949 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.9281, allocations: 15.11 kB / 1.032 GB, free: 4.938 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.9281, allocations: 4 kB / 1.032 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.9281, allocations: 4 kB / 1.032 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.9304, allocations: 0.8213 MB / 1.033 GB, free: 4.09 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.9305, allocations: 152 kB / 1.033 GB, free: 3.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.9306, allocations: 7 kB / 1.033 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.9308, allocations: 27.97 kB / 1.033 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/0.9309, allocations: 54.88 kB / 1.033 GB, free: 3.852 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.931, allocations: 27.67 kB / 1.033 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.977e-05/0.931, allocations: 114.2 kB / 1.033 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.931, allocations: 0 / 1.033 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005703/0.9316, allocations: 214.8 kB / 1.034 GB, free: 3.523 MB / 0.6511 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003065/0.9347, allocations: 2.318 MB / 1.036 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001515/0.9362, allocations: 2.997 MB / 1.039 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.9362, allocations: 0 / 1.039 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.9365, allocations: 167.5 kB / 1.039 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.9367, allocations: 12.33 kB / 1.039 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009488/0.9376, allocations: 0.5285 MB / 1.039 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.9379, allocations: 0.7656 MB / 1.04 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001984/0.9381, allocations: 59.17 kB / 1.04 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.9383, allocations: 94.95 kB / 1.04 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of SimCode: time 2.5e-07/0.9383, allocations: 3.938 kB / 1.04 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.968, allocations: 6.832 MB / 1.047 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/0.9683, allocations: 171.6 kB / 1.047 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.792, allocations: 0 / 1.047 GB, free: 5.633 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)