Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, 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.002193/0.002193, allocations: 197.9 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.613/1.613, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 65.48 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3873, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002424/0.3897, allocations: 0.8882 MB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003413/0.3932, allocations: 2.484 MB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.3933, allocations: 3.938 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.18e-05/0.3934, allocations: 15.8 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.3936, allocations: 51.62 kB / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.3949, allocations: 0.4941 MB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003977/0.3953, allocations: 315.1 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.798e-05/0.3954, allocations: 17.95 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.3956, allocations: 147.6 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.3958, allocations: 151.5 kB / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.886e-05/0.3959, allocations: 24 kB / 1.073 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006797/0.3966, allocations: 311.8 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.845e-05/0.3967, allocations: 67.8 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.3968, allocations: 111.5 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007127/0.3975, allocations: 0.5493 MB / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3976, allocations: 0 / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3976, allocations: 0 / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.3976, allocations: 4 kB / 1.074 GB, free: 4.742 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.001382/0.399, allocations: 0.6591 MB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.399, allocations: 12.03 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.897e-05/0.3991, allocations: 28.66 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3993, allocations: 190 kB / 1.075 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.3994, allocations: 131.4 kB / 1.075 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.3995, allocations: 16.38 kB / 1.075 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.3999, allocations: 256.3 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3999, allocations: 0 / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.3999, allocations: 8 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.3999, allocations: 7.938 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.4002, allocations: 119.7 kB / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.4008, allocations: 387.1 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.4024, allocations: 499.2 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.4026, allocations: 166.3 kB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.871e-05/0.4027, allocations: 11.92 kB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007432/0.4034, allocations: 315.5 kB / 1.076 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 2.034e-06/0.4034, allocations: 0 / 1.076 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.0008907/0.4043, allocations: 408.9 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002824/0.4046, allocations: 358.1 kB / 1.077 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.4049, allocations: 165.6 kB / 1.077 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.405, allocations: 41.7 kB / 1.077 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.405, allocations: 101.1 kB / 1.077 GB, free: 404 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.4052, allocations: 114.4 kB / 1.077 GB, free: 288 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.4053, allocations: 98.22 kB / 1.078 GB, free: 180 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002193/0.4055, allocations: 330.8 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.4058, allocations: 114.1 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.4062, allocations: 176.9 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005891/0.4068, allocations: 262.8 kB / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4068, allocations: 0 / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007845/0.4076, allocations: 380.5 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.4076, allocations: 4 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.4076, allocations: 4 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.4076, allocations: 4 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.408, allocations: 79.88 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.408, allocations: 3.938 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.4085, allocations: 55.66 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.4085, allocations: 19.98 kB / 1.079 GB, free: 14.75 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.0001827/0.4087, allocations: 158.5 kB / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.4088, allocations: 27.66 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007522/0.4095, allocations: 366 kB / 1.079 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.4096, allocations: 8 kB / 1.079 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.4096, allocations: 8 kB / 1.079 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.4096, allocations: 7.984 kB / 1.079 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.4101, allocations: 345.1 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.4101, allocations: 7.938 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.4104, allocations: 71.89 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.4104, allocations: 8 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.4104, allocations: 12 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.4104, allocations: 11.92 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4104, allocations: 4 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007521/0.4112, allocations: 0.4904 MB / 1.08 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.4114, allocations: 148.5 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.178e-05/0.4115, allocations: 23.92 kB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.4117, allocations: 27.97 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.4118, allocations: 51.83 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/0.4119, allocations: 27.98 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000111/0.412, allocations: 119.2 kB / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.412, allocations: 3.938 kB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007881/0.4128, allocations: 215.7 kB / 1.081 GB, free: 12.5 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.0006474/0.4135, allocations: 329.6 kB / 1.081 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006872/0.4142, allocations: 351.5 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4142, allocations: 0 / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.4145, allocations: 188.1 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.4148, allocations: 29.56 kB / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.4158, allocations: 0.5623 MB / 1.082 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.4163, allocations: 0.7611 MB / 1.083 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002388/0.4165, allocations: 58.14 kB / 1.083 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.4167, allocations: 47.41 kB / 1.083 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of SimCode: time 4.71e-07/0.4167, allocations: 0 / 1.083 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of Templates: time 0.01051/0.4272, allocations: 5.613 MB / 1.089 GB, free: 4.516 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)