Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001281/0.001281, allocations: 191.3 kB / 16.14 MB, free: 6.688 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.413/1.413, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.06/3.06, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.38 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.403, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002542/0.4056, allocations: 0.9473 MB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00339/0.409, allocations: 2.537 MB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.4091, allocations: 0 / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.127e-05/0.4092, allocations: 7.875 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.4094, allocations: 47.67 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009599/0.4104, allocations: 422.8 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000299/0.4107, allocations: 299.1 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.493e-05/0.4108, allocations: 13.67 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.411, allocations: 135.6 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.4112, allocations: 147.4 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.4112, allocations: 12 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005314/0.4118, allocations: 299.8 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.895e-05/0.4118, allocations: 59.78 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.412, allocations: 111.5 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006724/0.4127, allocations: 0.5301 MB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4127, allocations: 4 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4127, allocations: 0 / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4127, allocations: 4 kB / 1.073 GB, free: 5.285 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.001417/0.4141, allocations: 0.6607 MB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.4142, allocations: 8.031 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.933e-05/0.4143, allocations: 24.66 kB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.4145, allocations: 200.7 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.4146, allocations: 127.4 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.4147, allocations: 24.38 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.415, allocations: 244.4 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4151, allocations: 0 / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.4151, allocations: 15.92 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.4151, allocations: 4 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.4153, allocations: 115.7 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.4158, allocations: 399.1 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.4173, allocations: 491.3 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.4175, allocations: 162.3 kB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-05/0.4175, allocations: 7.938 kB / 1.075 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005436/0.4181, allocations: 319.4 kB / 1.076 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 1.903e-06/0.4181, allocations: 4 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.0008523/0.419, allocations: 413.6 kB / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002025/0.4192, allocations: 350.1 kB / 1.076 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.4194, allocations: 167.8 kB / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.29e-05/0.4194, allocations: 41.7 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.144e-05/0.4195, allocations: 97.14 kB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.4196, allocations: 110.4 kB / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.4198, allocations: 94.23 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002167/0.42, allocations: 334.8 kB / 1.077 GB, free: 400 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.4203, allocations: 113 kB / 1.077 GB, free: 288 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.4206, allocations: 172.9 kB / 1.077 GB, free: 108 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005659/0.4212, allocations: 266.7 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4212, allocations: 3.938 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007604/0.422, allocations: 376.8 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.422, allocations: 7.984 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.422, allocations: 4 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.4221, allocations: 4 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.4225, allocations: 79.88 kB / 1.078 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.4225, allocations: 7.938 kB / 1.078 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.4228, allocations: 39.67 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.4228, allocations: 19.98 kB / 1.078 GB, free: 15.3 MB / 0.8419 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.0002084/0.423, allocations: 157.8 kB / 1.078 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.4231, allocations: 28.41 kB / 1.078 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007459/0.4239, allocations: 366.7 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.4239, allocations: 8 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.4239, allocations: 8 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.4239, allocations: 7.984 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.4244, allocations: 357.1 kB / 1.079 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.4244, allocations: 7.938 kB / 1.079 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.4247, allocations: 71.91 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.4247, allocations: 4 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.4247, allocations: 19.98 kB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.4247, allocations: 7.938 kB / 1.079 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.4248, allocations: 4 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/0.4255, allocations: 497.8 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.4257, allocations: 156.5 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/0.4258, allocations: 16 kB / 1.08 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.426, allocations: 31.97 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.4261, allocations: 51.81 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.4262, allocations: 27.98 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.549e-05/0.4263, allocations: 119.2 kB / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4263, allocations: 0 / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000616/0.4269, allocations: 215.7 kB / 1.08 GB, free: 13.05 MB / 0.8419 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.0005931/0.4275, allocations: 320.9 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006835/0.4282, allocations: 330.8 kB / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4282, allocations: 0 / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003135/0.4285, allocations: 192.5 kB / 1.081 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.4288, allocations: 33.72 kB / 1.081 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.43, allocations: 0.6534 MB / 1.082 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.4305, allocations: 0.7614 MB / 1.082 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002215/0.4307, allocations: 50.94 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.4309, allocations: 51.41 kB / 1.083 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.4309, allocations: 0 / 1.083 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.01/0.4409, allocations: 5.298 MB / 1.088 GB, free: 5.293 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)