Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001179/0.001179, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 62.61 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3754, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002102/0.3776, allocations: 0.8921 MB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002941/0.3805, allocations: 2.484 MB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.17e-05/0.3806, allocations: 0 / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.279e-05/0.3807, allocations: 15.75 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.3809, allocations: 51.61 kB / 1.072 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009806/0.3819, allocations: 0.4978 MB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.3822, allocations: 311.1 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.028e-05/0.3823, allocations: 21.94 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.3825, allocations: 139.7 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.3827, allocations: 147.5 kB / 1.073 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.3827, allocations: 27.94 kB / 1.073 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005387/0.3833, allocations: 315.8 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.01e-05/0.3834, allocations: 71.78 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.3835, allocations: 115.5 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000671/0.3842, allocations: 0.5454 MB / 1.074 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3842, allocations: 0 / 1.074 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3842, allocations: 0 / 1.074 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.3842, allocations: 0 / 1.074 GB, free: 4.766 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.001394/0.3856, allocations: 0.6646 MB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3857, allocations: 12.03 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.758e-05/0.3857, allocations: 20.66 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.3859, allocations: 194 kB / 1.075 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.3861, allocations: 127.4 kB / 1.075 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.3861, allocations: 16.38 kB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.3865, allocations: 252.4 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3866, allocations: 0 / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.3866, allocations: 11.94 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3866, allocations: 4 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.3868, allocations: 115.7 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.3873, allocations: 403.1 kB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.3888, allocations: 495.2 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.389, allocations: 162.3 kB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.3891, allocations: 11.98 kB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000494/0.3896, allocations: 319.4 kB / 1.076 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.3896, allocations: 0 / 1.076 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.0008309/0.3904, allocations: 405 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001808/0.3906, allocations: 362.6 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.3908, allocations: 169.1 kB / 1.077 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.3908, allocations: 37.7 kB / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.3909, allocations: 97.12 kB / 1.077 GB, free: 428 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.372e-05/0.391, allocations: 114.5 kB / 1.077 GB, free: 312 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.3911, allocations: 94.22 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3913, allocations: 330.8 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.3916, allocations: 121 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.3919, allocations: 169 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005571/0.3925, allocations: 266.7 kB / 1.078 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3925, allocations: 0 / 1.078 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007635/0.3933, allocations: 385.3 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3933, allocations: 4 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3933, allocations: 0 / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3933, allocations: 4 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/0.3937, allocations: 84.81 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.3938, allocations: 0 / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.394, allocations: 51.66 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.3941, allocations: 23.98 kB / 1.079 GB, free: 14.77 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.0001635/0.3943, allocations: 153.7 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.699e-05/0.3943, allocations: 35.64 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006928/0.395, allocations: 362 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.3951, allocations: 8 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.3951, allocations: 4 kB / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.3951, allocations: 4 kB / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003923/0.3955, allocations: 349.1 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.3955, allocations: 7.938 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.3958, allocations: 71.84 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.3958, allocations: 8 kB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.3959, allocations: 23.98 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.3959, allocations: 4 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3959, allocations: 4 kB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007106/0.3966, allocations: 497.9 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.3968, allocations: 148.5 kB / 1.081 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.752e-05/0.3969, allocations: 24.17 kB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.3971, allocations: 27.98 kB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.3972, allocations: 59.81 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.3973, allocations: 23.98 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001011/0.3974, allocations: 123.2 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3974, allocations: 0 / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000587/0.398, allocations: 211.7 kB / 1.081 GB, free: 12.53 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.0005272/0.3985, allocations: 329.8 kB / 1.081 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007057/0.3992, allocations: 355.5 kB / 1.082 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3992, allocations: 0 / 1.082 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.3995, allocations: 183.7 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.3998, allocations: 29.86 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009857/0.4008, allocations: 0.569 MB / 1.082 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.4012, allocations: 0.7533 MB / 1.083 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002254/0.4014, allocations: 55.25 kB / 1.083 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.4015, allocations: 51.41 kB / 1.083 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.4015, allocations: 3.938 kB / 1.083 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of Templates: time 0.01076/0.4123, allocations: 5.6 MB / 1.089 GB, free: 4.535 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)